Skip to content

Commit

Permalink
Re-order template
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisVQ committed Aug 21, 2024
1 parent 15cf294 commit b79964c
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions jenkins/webhook-proxy/pipeline.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
"resourceVersion": "{{.ResourceVersion}}"
},
"spec": {
"triggers": [
{
"type": "Generic",
"generic": {
"secret": "{{.TriggerSecret}}",
"allowEnv": true
}
"output": {},
"resources": {},
"strategy": {
"type": "JenkinsPipeline",
"jenkinsPipelineStrategy": {
"jenkinsfilePath": "{{.JenkinsfilePath}}",
"env": {{.Env}}
}
],
"runPolicy": "Serial",
},
"postCommit": {},
"source": {
"type": "Git",
"git": {
Expand All @@ -27,16 +27,15 @@
"name": "cd-user-with-password"
}
},
"strategy": {
"type": "JenkinsPipeline",
"jenkinsPipelineStrategy": {
"jenkinsfilePath": "{{.JenkinsfilePath}}",
"env": {{.Env}}
"triggers": [
{
"type": "Generic",
"generic": {
"secret": "{{.TriggerSecret}}",
"allowEnv": true
}
}
},
"output": {},
"resources": {},
"postCommit": {},
"nodeSelector": {}
],
"runPolicy": "Serial"
}
}
}

0 comments on commit b79964c

Please sign in to comment.