Loading .gitlab-ci.yml +15 −9 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ stages: default: tags: - wildfly - docker interruptible: true before_script: - | Loading @@ -41,16 +41,19 @@ default: compile:cesiumjs4gwt-main: stage: build needs: [] script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true compile compile:cesiumjs4gwt-showcase: stage: build needs: ["compile:cesiumjs4gwt-main"] script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-showcase -DskipTests=true compile -am -DskipTests=true package:cesiumjs4gwt-main: stage: package needs: ["compile:cesiumjs4gwt-main"] only: - master - develop Loading @@ -58,32 +61,35 @@ package:cesiumjs4gwt-main: script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true package deploy:cesiumjs4gwt-main: stage: deploy package:cesiumjs4gwt-showcase: stage: package needs: ["package:cesiumjs4gwt-main"] only: - master - develop - tags script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true deploy - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-showcase package -am -DskipTests=true artifacts: paths: - cesiumjs4gwt-main/target/*.jar - cesiumjs4gwt-showcase/target/*.war package:cesiumjs4gwt-showcase: stage: package deploy:cesiumjs4gwt-main: stage: deploy needs: ["package:cesiumjs4gwt-main"] only: - master - develop - tags script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-showcase package -am -DskipTests=true - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true deploy artifacts: paths: - cesiumjs4gwt-showcase/target/*.war - cesiumjs4gwt-main/target/*.jar deploy:cesiumjs4gwt-showcase: stage: deploy needs: ["package:cesiumjs4gwt-showcase"] only: - master - develop Loading Loading
.gitlab-ci.yml +15 −9 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ stages: default: tags: - wildfly - docker interruptible: true before_script: - | Loading @@ -41,16 +41,19 @@ default: compile:cesiumjs4gwt-main: stage: build needs: [] script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true compile compile:cesiumjs4gwt-showcase: stage: build needs: ["compile:cesiumjs4gwt-main"] script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-showcase -DskipTests=true compile -am -DskipTests=true package:cesiumjs4gwt-main: stage: package needs: ["compile:cesiumjs4gwt-main"] only: - master - develop Loading @@ -58,32 +61,35 @@ package:cesiumjs4gwt-main: script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true package deploy:cesiumjs4gwt-main: stage: deploy package:cesiumjs4gwt-showcase: stage: package needs: ["package:cesiumjs4gwt-main"] only: - master - develop - tags script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true deploy - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-showcase package -am -DskipTests=true artifacts: paths: - cesiumjs4gwt-main/target/*.jar - cesiumjs4gwt-showcase/target/*.war package:cesiumjs4gwt-showcase: stage: package deploy:cesiumjs4gwt-main: stage: deploy needs: ["package:cesiumjs4gwt-main"] only: - master - develop - tags script: - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-showcase package -am -DskipTests=true - mvn $MAVEN_CLI_OPTS -pl cesiumjs4gwt-main -DskipTests=true deploy artifacts: paths: - cesiumjs4gwt-showcase/target/*.war - cesiumjs4gwt-main/target/*.jar deploy:cesiumjs4gwt-showcase: stage: deploy needs: ["package:cesiumjs4gwt-showcase"] only: - master - develop Loading