This commit is contained in:
Matias Pou 2026-01-06 16:09:22 -03:00
parent 6e3f1786cf
commit 2b3bee5809

6
Jenkinsfile vendored
View file

@ -22,6 +22,12 @@ pipeline {
sh 'git submodule update --init --recursive'
if (env.BRANCH_NAME !== 'main') {
echo "[!] Not on main branch. Stopping pipeline."
currentBuild.result = 'SUCCESS'
error("Stopping pipeline: not on main branch.")
}
def tagName = sh(
script: "git describe --tags --exact-match 2>/dev/null || echo 'no-tag'",
returnStdout: true