Skip to content
Snippets Groups Projects
Commit 51b78041 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

chore: Change tag from vips-java to java

parent a4a1bab6
No related branches found
No related tags found
1 merge request!35build: New dummy version for testing the pipeline
Pipeline #3601 passed
...@@ -40,7 +40,7 @@ build-for-staging: ...@@ -40,7 +40,7 @@ build-for-staging:
script: script:
- "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS package -DskipTests" - "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS package -DskipTests"
tags: tags:
- vips-java - java
artifacts: artifacts:
paths: paths:
- target/*.war - target/*.war
...@@ -90,7 +90,7 @@ build-for-production: ...@@ -90,7 +90,7 @@ build-for-production:
- echo "Build war file with version '$RELEASE_VERSION'" - echo "Build war file with version '$RELEASE_VERSION'"
- "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS package -DskipTests" - "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS package -DskipTests"
tags: tags:
- vips-java - java
artifacts: artifacts:
paths: paths:
- target/*.war - target/*.war
...@@ -102,7 +102,7 @@ test: ...@@ -102,7 +102,7 @@ test:
script: script:
- "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS test" - "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS test"
tags: tags:
- vips-java - java
rules: rules:
- if: $CI_COMMIT_REF_NAME == $MAIN_BRANCH - if: $CI_COMMIT_REF_NAME == $MAIN_BRANCH
- if: $CI_COMMIT_REF_NAME == $RELEASE_BRANCH - if: $CI_COMMIT_REF_NAME == $RELEASE_BRANCH
...@@ -140,7 +140,7 @@ deploy-to-staging: ...@@ -140,7 +140,7 @@ deploy-to-staging:
after_script: after_script:
- echo "Deployment complete" - echo "Deployment complete"
tags: tags:
- vips-java - java
rules: rules:
- if: $CI_COMMIT_REF_NAME == $MAIN_BRANCH - if: $CI_COMMIT_REF_NAME == $MAIN_BRANCH
environment: environment:
...@@ -156,7 +156,7 @@ upload-snapshot: ...@@ -156,7 +156,7 @@ upload-snapshot:
fi fi
- "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS deploy -DskipTests" - "./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS deploy -DskipTests"
tags: tags:
- vips-java - java
rules: rules:
- if: $CI_COMMIT_REF_NAME == $MAIN_BRANCH - if: $CI_COMMIT_REF_NAME == $MAIN_BRANCH
...@@ -193,7 +193,7 @@ deploy-to-production: ...@@ -193,7 +193,7 @@ deploy-to-production:
after_script: after_script:
- echo "Deployment complete" - echo "Deployment complete"
tags: tags:
- vips-java - java
rules: rules:
- if: $CI_COMMIT_REF_NAME == $RELEASE_BRANCH - if: $CI_COMMIT_REF_NAME == $RELEASE_BRANCH
environment: environment:
...@@ -242,6 +242,6 @@ upload-and-tag-release: ...@@ -242,6 +242,6 @@ upload-and-tag-release:
- git commit -m "[ci skip] Set snapshot version ${SNAPSHOT_VERSION}" - git commit -m "[ci skip] Set snapshot version ${SNAPSHOT_VERSION}"
- git push origin $MAIN_BRANCH - git push origin $MAIN_BRANCH
tags: tags:
- vips-java - java
rules: rules:
- if: $CI_COMMIT_REF_NAME == $RELEASE_BRANCH - if: $CI_COMMIT_REF_NAME == $RELEASE_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment