1
0

#26 Try to fix bad sub

This commit is contained in:
2026-01-17 11:56:13 +01:00
parent b6545e2f62
commit 90dbeecdca

13
build/Jenkinsfile vendored
View File

@@ -1,14 +1,15 @@
pipeline {
agent { label 'docker' }
parameters {
booleanParam(name: 'DRY_RUN', defaultValue: true, description: 'If checked, no code will be pushed to Gitea, Reposilite, or Docker.')
}
environment {
REPO_URL = credentials('reposilite-url')
DOCKER_REGISTRY = credentials('docker-registry-url')
GIT_URL_CLEAN = sh(script: "echo ${GIT_URL} | sed 's|https://||'", returnStdout: true).trim()
}
parameters {
booleanParam(name: 'DRY_RUN', defaultValue: true, description: 'If checked, no code will be pushed to Gitea, Reposilite, or Docker.')
IS_DRY_RUN = "${params.DRY_RUN}"
}
stages {
@@ -25,10 +26,10 @@ pipeline {
pkgx mvn release:prepare -B \
-s build/settings.xml \
-DdryRun=${DRY_RUN} \
-DdryRun=${IS_DRY_RUN} \
-Dreposilite.url=${REPO_URL} \
-DtagNameFormat="v@{project.version}" \
-Darguments="-Dtag=v${project.version} -DskipTests"
-Darguments="-Dtag=v\\${project.version} -DskipTests"
'''
}
}