Skip to content
Snippets Groups Projects
Commit 93b1ce35 authored by trantzas's avatar trantzas
Browse files

Merge branch...

Merge branch '4-create-a-pipeline-to-build-and-publish-the-mvn-package-in-gitlab-registry' into 'develop'

Resolve "Create a pipeline to build and publish the mvn package in gitlab registry"

See merge request !19
parents b577eca7 4f07baa0
No related branches found
No related tags found
3 merge requests!34Merging develop (merged from 2024Q2_RC) into main creating for 2024Q2 Release,!33Merging 2024Q2_RC into main creating for 2024Q2 Release,!19Resolve "Create a pipeline to build and publish the mvn package in gitlab registry"
Pipeline #3784 passed
...@@ -23,7 +23,7 @@ updaterepo(){ ...@@ -23,7 +23,7 @@ updaterepo(){
# Build maven project if .pom file is present # Build maven project if .pom file is present
if [ -f "./pom.xml" ]; then if [ -f "./pom.xml" ]; then
docker run -it --rm -v "/home/ubuntu/.m2":/root/.m2 -v "$(pwd)":/opt/maven maven:3.9.5-ibm-semeru-17-focal mvn clean verify -DskipTests docker run -it --rm -v "/home/ubuntu/.m2":/root/.m2 -v "$(pwd)":/opt/maven -w /opt/maven maven:3.9.5-ibm-semeru-17-focal mvn clean verify -DskipTests
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment