Compare commits

...
Sign in to create a new pull request.

5 commits
main ... dev

Author SHA1 Message Date
ab77524137 test 2026-01-06 16:16:49 -03:00
fc1bc1fe2b test 2026-01-06 16:14:26 -03:00
4227ca6965 test 2026-01-06 16:13:25 -03:00
970fd0cb11 Merge branch 'main' into dev 2026-01-06 16:09:57 -03:00
67002d20c0 test 2026-01-06 15:53:57 -03:00
2 changed files with 9 additions and 4 deletions

9
Jenkinsfile vendored
View file

@ -22,8 +22,13 @@ pipeline {
sh 'git submodule update --init --recursive' sh 'git submodule update --init --recursive'
if (env.BRANCH_NAME !== 'main') { def branch = sh(
echo "[!] Not on main branch. Stopping pipeline." script: 'git branch --show-current 2>/dev/null || echo "DETACHED"',
returnStdout: true
).trim()
if(branch != 'main') {
echo "[!] Not on 'main' branch. Current branch: ${branch}"
currentBuild.result = 'SUCCESS' currentBuild.result = 'SUCCESS'
error("Stopping pipeline: not on main branch.") error("Stopping pipeline: not on main branch.")
} }