Commit 9fde185b by Jessica Hawkwell

updating CI

1 parent 55eab287
Pipeline #186 passed
in 1 minute 43 seconds
Showing with 23 additions and 4 deletions
......@@ -16,15 +16,15 @@ stages:
compile:
stage: compile
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile test
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS package
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS install
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS deploy
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile test package install deploy
only:
- master
pages:
stage: deploy
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS test
- mvn versions:set -DprocessDependencies=false -DnewVersion=`git-describe`-`git rev-parse --abbrev-ref HEAD`
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS site
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS site:stage
- mv target/staging public
......@@ -33,3 +33,22 @@ pages:
- public
only:
- master
test:
stage: compile
script:
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile test
only:
- branches
except:
- master
compile:
stage: compile
script:
- mvn versions:set -DnewVersion=`git describe`
- mvn versions:commit
- find * -name pom.xml -exec git add {} \;
- mvn -Dgit-rev="`git describe`" $MAVEN_CLI_OPTS compile package install deploy
only:
- /([.0-9]+)-RELEASE/
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!