From bdc99f305aa40f88ee5aaabde61b357aa5db4e2e Mon Sep 17 00:00:00 2001 From: Doug Morato Date: Mon, 26 Oct 2015 18:18:07 -0400 Subject: [PATCH] Travis build number now available from admin page On the About page, the travis build numbers will be reflected on the build: property Signed-off-by: Doug Morato --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 522341600..656a6d651 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ script: - git clone https://github.com/WebGoat/WebGoat-Lessons.git - mvn -file ./WebGoat-Lessons/pom.xml package - cp -fa ./WebGoat-Lessons/target/plugins/*.jar ./webgoat-container/src/main/webapp/plugin_lessons/ - - if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn -Prun-integration-tests clean install; else mvn clean install; fi + - if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn "-Dbuild.number=$TRAVIS_BUILD_NUMBER" -Prun-integration-tests clean install; else mvn clean install; fi before_deploy: - export WEBGOAT_CONTAINTER_TARGET_DIR=$HOME/build/$TRAVIS_REPO_SLUG/webgoat-container/target - export WEBGOAT_ARTIFACTS_FOLDER=$HOME/build/$TRAVIS_REPO_SLUG/Deployable_Artifacts/