Skip to content

Commit

Permalink
Pipeline: missing version
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Mar 21, 2018
1 parent 57faa4f commit e39a7e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,20 @@ set -e
./gradlew \\
clean \\
versionDisplay \\
versionFile \\
build \\
--stacktrace \\
--profile \\
--parallel \\
--console plain
'''
script {
// Reads version information
def props = readProperties(file: 'build/version.properties')
version = props.VERSION_DISPLAY
gitCommit = props.VERSION_COMMIT
}
echo "Version = ${version}"
}
}

Expand Down

0 comments on commit e39a7e6

Please sign in to comment.