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

build: Remove maven, override default host in trigger call

parent f537c0eb
No related branches found
No related tags found
No related merge requests found
...@@ -46,9 +46,9 @@ verify_models: ...@@ -46,9 +46,9 @@ verify_models:
stage: verify stage: verify
image: registry.gitlab.com/finestructure/pipeline-trigger image: registry.gitlab.com/finestructure/pipeline-trigger
script: script:
- apk add --no-cache openjdk11 maven - apk add --no-cache openjdk11
- export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*") - export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
- trigger -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_MAMESTRABR" -t $MAIN_BRANCH $MAMESTRABR_PROJECT_ID -e VERSION=$PROJECT_VERSION - trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_MAMESTRABR" -t $MAIN_BRANCH $MAMESTRABR_PROJECT_ID -e VERSION=$PROJECT_VERSION
#- "curl -X POST --fail -F token=${CI_JOB_TOKEN} -F ref=$MAIN_BRANCH -F 'variables[VERSION]=$PROJECT_VERSION' https://gitlab.nibio.no/api/v4/projects/31/trigger/pipeline" #- "curl -X POST --fail -F token=${CI_JOB_TOKEN} -F ref=$MAIN_BRANCH -F 'variables[VERSION]=$PROJECT_VERSION' https://gitlab.nibio.no/api/v4/projects/31/trigger/pipeline"
tags: tags:
- vips-java - vips-java
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment