diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..bb3d25a --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,12 @@ +stage 'Init' +node { + checkout scm + sh 'echo $BRANCH_NAME' +} +if (env.BRANCH_NAME == 'master') { + stage 'Only on master' + println 'This happens only on master' +} else { + stage 'Other branches' + println "Current branch ${env.BRANCH_NAME}" +} \ No newline at end of file -- libgit2 0.21.2