Dump environment - try #1

This commit is contained in:
Paul Campbell 2018-03-08 18:51:13 +00:00
parent 878001a25f
commit 586546f615
2 changed files with 5 additions and 1 deletions

@ -1 +0,0 @@
Subproject commit b8593e541ba9a11447fa9559a83e5f99097ca4d2

View file

@ -3,6 +3,11 @@ final String mvn = "mvn --batch-mode --update-snapshots"
pipeline {
agent any
stages {
stage('dump environment') {
steps {
sh 'set'
}
}
stage('no SNAPSHOT in master') {
// checks that the pom version is not a snapshot when the current branch is master
// TODO: also check for SNAPSHOT when is a pull request with master as the target branch