refs #2659 Adds jenkins branch for testing
ogagent/pipeline/head There was a failure building this commit
Details
ogagent/pipeline/head There was a failure building this commit
Details
parent
6875042372
commit
468d9db14f
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue