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
468d9db14f
commit
4694bf6cdd
|
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue