up
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "StellaOps",
|
||||
"classifications": ["StellaOps", "Plugin", "Scheduler", "Job"],
|
||||
"identity": "StellaOps.Plugin.Scheduler",
|
||||
"name": "StellaOps Scheduled Job Plugin",
|
||||
"shortName": "stellaops-plugin-scheduler",
|
||||
"description": "A template for creating StellaOps scheduled job plugins",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "project"
|
||||
},
|
||||
"sourceName": "MyJob",
|
||||
"preferNameDirectory": true,
|
||||
"symbols": {
|
||||
"jobName": {
|
||||
"type": "parameter",
|
||||
"datatype": "text",
|
||||
"description": "The name of the scheduled job (e.g., 'Cleanup' for CleanupJob)",
|
||||
"defaultValue": "MyJob",
|
||||
"replaces": "MyJob",
|
||||
"fileRename": "MyJob"
|
||||
},
|
||||
"cronSchedule": {
|
||||
"type": "parameter",
|
||||
"datatype": "text",
|
||||
"description": "Default cron schedule for the job",
|
||||
"defaultValue": "0 0 * * *",
|
||||
"replaces": "0 0 * * *"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "parameter",
|
||||
"datatype": "text",
|
||||
"description": "The root namespace for the plugin",
|
||||
"defaultValue": "StellaOps.Plugin.MyJob",
|
||||
"replaces": "StellaOps.Plugin.MyJob"
|
||||
},
|
||||
"pluginVersion": {
|
||||
"type": "parameter",
|
||||
"datatype": "text",
|
||||
"description": "The initial plugin version",
|
||||
"defaultValue": "1.0.0",
|
||||
"replaces": "1.0.0-template"
|
||||
}
|
||||
},
|
||||
"postActions": [
|
||||
{
|
||||
"description": "Restore NuGet packages required by this project",
|
||||
"manualInstructions": [{ "text": "Run 'dotnet restore'" }],
|
||||
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
|
||||
"continueOnError": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user