Skip to content
Snippets Groups Projects
Commit 15814b59 authored by Brita Linnestad's avatar Brita Linnestad
Browse files

Update .gitlab-ci.yml file

parent 0b6d87e3
Branches
No related tags found
No related merge requests found
...@@ -45,17 +45,6 @@ deploy-snapshot: ...@@ -45,17 +45,6 @@ deploy-snapshot:
# Runs after new SNAPSHOT is deployed to package registry. Triggers job on main branch in model repo, # Runs after new SNAPSHOT is deployed to package registry. Triggers job on main branch in model repo,
# which builds model with the new version of VIPSCommon. This pipeline fails if model build fails. # which builds model with the new version of VIPSCommon. This pipeline fails if model build fails.
#verify_model_ALTERNARIA:
# stage: verify
# image: registry.gitlab.com/finestructure/pipeline-trigger
# script:
# - apk add --no-cache openjdk11
# - export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
# - trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_ALTERNARIA" -t $MAIN_BRANCH $ALTERNARIA_PROJECT_ID -e VERSION=$PROJECT_VERSION
# tags:
# - vips-java
# rules:
# - if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
verify_model_APPLESCABM: verify_model_APPLESCABM:
stage: verify stage: verify
...@@ -69,6 +58,18 @@ verify_model_APPLESCABM: ...@@ -69,6 +58,18 @@ verify_model_APPLESCABM:
rules: rules:
- if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH' - if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
verify_model_ALTERNARIA:
stage: verify
image: registry.gitlab.com/finestructure/pipeline-trigger
script:
- apk add --no-cache openjdk11
- export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
- trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_ALTERNARIA" -t $MAIN_BRANCH $ALTERNARIA_PROJECT_ID -e VERSION=$PROJECT_VERSION
tags:
- vips-java
rules:
- if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
verify_model_MAMESTRABR: verify_model_MAMESTRABR:
stage: verify stage: verify
image: registry.gitlab.com/finestructure/pipeline-trigger image: registry.gitlab.com/finestructure/pipeline-trigger
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment