refs #2659 Adds jenkins branch for testing
ogagent/pipeline/head There was a failure building this commit Details

pull/61/head
Nicolas Arenas 2025-09-02 16:39:13 +02:00
parent 468d9db14f
commit 4694bf6cdd
1 changed files with 3 additions and 3 deletions

View File

@ -69,14 +69,14 @@ pipeline {
steps { steps {
dir ("${env.BUILD_DIR}") { dir ("${env.BUILD_DIR}") {
script { script {
sh """ sh '''
V=$(grep -E "^## \\[[0-9]+\\.[0-9]+\\.[0-9]+" changelog.md | head -1 | \ V=$(grep -E "^## \\[[0-9]+\\.[0-9]+\\.[0-9]+" changelog.md | head -1 | \
sed -E "s/^## \\[([0-9]+\\.[0-9]+\\.[0-9]+[^\\]]*)\\].*/\\1/") sed -E "s/^## \\[([0-9]+\\.[0-9]+\\.[0-9]+[^\\]]*)\\].*/\\1/")
echo "V=$V" >src/VERSION echo "V=$V" >src/VERSION
echo "✅ Versión extraída: $V" echo "Versión extraída: $V"
src/update.py src/update.py
git checkout -- src/about-dialog.ui src/opengnsys/__init__.py git checkout -- src/about-dialog.ui src/opengnsys/__init__.py
""" '''
construirPaquete("${env.BUILD_DIR}/linux", "../artifacts", "172.17.8.68", "/var/tmp/opengnsys/debian-repo/ogagent") construirPaquete("${env.BUILD_DIR}/linux", "../artifacts", "172.17.8.68", "/var/tmp/opengnsys/debian-repo/ogagent")
} }
} }