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

chore: Build and test should only be run for main + release branch

parent 011b7564
Branches
Tags
No related merge requests found
Pipeline #2497 failed
...@@ -44,6 +44,9 @@ build: ...@@ -44,6 +44,9 @@ build:
artifacts: artifacts:
paths: paths:
- target/*.war - target/*.war
only:
- $MAIN_BRANCH
- $RELEASE_BRANCH
test: test:
stage: test stage: test
...@@ -51,6 +54,9 @@ test: ...@@ -51,6 +54,9 @@ test:
- "./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 - vips-java
only:
- $MAIN_BRANCH
- $RELEASE_BRANCH
deploy-to-staging: deploy-to-staging:
stage: deploy stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment