Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update jenkinfile
  • Loading branch information
Espejo committed May 2, 2019
commit 86c63b494145536e36158cb237c594cc74a53791
10 changes: 5 additions & 5 deletions jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ node {

if (env.BRANCH_NAME == 'master') {
stage ('Some Stage 1 for master') {
sh 'do something'
sh 'echo master'
}
stage ('Another Stage for Master') {
sh 'do something else here'
sh 'echo master step 2'
}
}

else if (env.BRANCH_NAME == 'stage') {
else if (env.BRANCH_NAME == 'dev') {
stage ('Some stage branch step') {
sh 'do something'
sh 'echo dev'
}
stage ('Deploy to stage target') {
sh 'do something else'
sh 'echo dev 2'
}
}

Expand Down