Skip to content

Commit

Permalink
Separated sections in jenkinsfile for stages
Browse files Browse the repository at this point in the history
  • Loading branch information
jredbeard committed Feb 4, 2017
1 parent a83674d commit 7f8d900
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!groovy
node {
stage 'Checkout'
checkout scm
properties([pipelineTriggers([[$class: 'GitHubPushTrigger']])]) // required to enable webhooks for a job
stage 'Build'
try {
properties([pipelineTriggers([[$class: 'GitHubPushTrigger']])])
checkout scm
sh 'ciscripts/triggerbuild.sh'
sh 'ciscripts/buildsuccess.sh'
} catch (err) {
Expand Down

0 comments on commit 7f8d900

Please sign in to comment.