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:40:01 +02:00
parent 4694bf6cdd
commit 9c34720d51
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ pipeline {
dir ("${env.BUILD_DIR}") {
script {
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/")
echo "V=$V" >src/VERSION
echo "Versión extraída: $V"