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:38:12 +02:00
parent 6875042372
commit 468d9db14f
1 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,6 @@ pipeline {
script {
def devName = params.DEV_NAME ? params.DEV_NAME : env.DEFAULT_DEV_NAME
def devEmail = params.DEV_EMAIL ? params.DEV_EMAIL : env.DEFAULT_DEV_EMAIL
generateDebianChangelog(env.BUILD_DIR, devName, devEmail)
sh "cp ${env.BUILD_DIR}/debian/changelog ${env.BUILD_DIR}/linux/debian/"
}
@ -71,6 +70,10 @@ pipeline {
dir ("${env.BUILD_DIR}") {
script {
sh """
V=$(grep -E "^## \\[[0-9]+\\.[0-9]+\\.[0-9]+" changelog.md | head -1 | \
sed -E "s/^## \\[([0-9]+\\.[0-9]+\\.[0-9]+[^\\]]*)\\].*/\\1/")
echo "V=$V" >src/VERSION
echo "✅ Versión extraída: $V"
src/update.py
git checkout -- src/about-dialog.ui src/opengnsys/__init__.py
"""