Skip to content

Commit

Permalink
Update scm_demo
Browse files Browse the repository at this point in the history
  • Loading branch information
javahometech authored Nov 1, 2018
1 parent 463302b commit 34601b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scm_demo
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
node {
checkout scm
/* .. snip .. */
echo "${env.BRANCH_NAME}"
stage('Deploy') {
echo "${BRANCH_NAME}"

for(def branch: scm.branches){
echo branch.name
}
Expand Down

0 comments on commit 34601b2

Please sign in to comment.