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