diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5065e0144e44b1b6bc2020bedc457e5569c06e15..49a2c7e9de7daaac4ad60c20d3014a7ae88f7184 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,11 +33,14 @@ test: rules: - if: '$CI_PIPELINE_SOURCE != "trigger"' +# This job is triggered by the VIPSCommon pipeline, and builds the model with the given version of VIPSCommon test_after_vips_common_changes: stage: test script: - echo $VERSION - - ./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS test + - ./mvnw versions:use-dep-version -Dincludes=no.nibio.vips:VIPSCommon -DdepVersion=$VERSION -DforceVersion=true + - echo 'Build model with no.nibio.vips:VIPSCommon:$VERSION' + - ./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS package tags: - vips-java rules: