Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCommon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSCommon
Commits
d2a6ba11
Commit
d2a6ba11
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Patches
Plain Diff
build: Change variable name in model trigger
parent
5a24d5cb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
d2a6ba11
...
@@ -369,7 +369,7 @@ deploy-release:
...
@@ -369,7 +369,7 @@ deploy-release:
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS validate -DremoveSnapshot
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS validate -DremoveSnapshot
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS deploy -DskipTests
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS deploy -DskipTests
-
export RELEASE_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
export RELEASE_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
if [[ $VERSION =~ .*SNAPSHOT ]]; then exit 1; fi
-
if [[ $
RELEASE_
VERSION =~ .*SNAPSHOT ]]; then exit 1; fi
-
export RELEASE_TAG="v${RELEASE_VERSION}"
-
export RELEASE_TAG="v${RELEASE_VERSION}"
-
git add pom.xml
-
git add pom.xml
-
git commit -m "[ci skip] Set release version ${RELEASE_VERSION}"
-
git commit -m "[ci skip] Set release version ${RELEASE_VERSION}"
...
@@ -397,7 +397,7 @@ update_model_ALTERNARIA:
...
@@ -397,7 +397,7 @@ update_model_ALTERNARIA:
script
:
script
:
-
apk add --no-cache openjdk11
-
apk add --no-cache openjdk11
-
export RELEASE_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
export RELEASE_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=$RELEASE_VERSION
-
trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_ALTERNARIA" -t $MAIN_BRANCH $ALTERNARIA_PROJECT_ID -e
RELEASE_
VERSION=$RELEASE_VERSION
tags
:
tags
:
-
vips-java
-
vips-java
rules
:
rules
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment