Loading ci-templates/build.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3,7 +3,7 @@ stage: build stage: build image: maven:3.9.5-ibm-semeru-17-focal image: maven:3.9.5-ibm-semeru-17-focal script: script: - mvn deploy -s ci_settings.xml -DskipTests -Dversion=$APP_VERSION - mvn deploy -s ci_settings.xml -Dversion=$APP_VERSION artifacts: artifacts: paths: paths: - target/ - target/ Loading ci-templates/build_unprotected.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3,7 +3,7 @@ stage: build stage: build image: maven:3.9.5-ibm-semeru-17-focal image: maven:3.9.5-ibm-semeru-17-focal script: script: - mvn install -s ci_settings.xml -DskipTests - mvn install -s ci_settings.xml artifacts: artifacts: paths: paths: - target/ - target/ Loading ci-templates/default.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -7,7 +7,7 @@ stages: .default: .default: variables: variables: DEFAULT_VERSION: "1.2.0-SNAPSHOT" DEFAULT_VERSION: "1.0.0-SNAPSHOT" before_script: before_script: - | - | if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then Loading Loading
ci-templates/build.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3,7 +3,7 @@ stage: build stage: build image: maven:3.9.5-ibm-semeru-17-focal image: maven:3.9.5-ibm-semeru-17-focal script: script: - mvn deploy -s ci_settings.xml -DskipTests -Dversion=$APP_VERSION - mvn deploy -s ci_settings.xml -Dversion=$APP_VERSION artifacts: artifacts: paths: paths: - target/ - target/ Loading
ci-templates/build_unprotected.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3,7 +3,7 @@ stage: build stage: build image: maven:3.9.5-ibm-semeru-17-focal image: maven:3.9.5-ibm-semeru-17-focal script: script: - mvn install -s ci_settings.xml -DskipTests - mvn install -s ci_settings.xml artifacts: artifacts: paths: paths: - target/ - target/ Loading
ci-templates/default.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -7,7 +7,7 @@ stages: .default: .default: variables: variables: DEFAULT_VERSION: "1.2.0-SNAPSHOT" DEFAULT_VERSION: "1.0.0-SNAPSHOT" before_script: before_script: - | - | if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then Loading