ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Juan Ferrer 2024-07-10 11:31:08 +02:00
parent 21da29ab8d
commit 5ac6652663
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -36,8 +36,11 @@ pipeline {
}
steps {
sh 'debuild -us -uc -b'
sh 'mkdir -p output'
sh 'mv ../*.deb ../*.build ../*.changes ../*.buildinfo output'
script {
def files = findFiles(glob: '../hedera-web_*.changes')
def files = findFiles(glob: 'output/*.changes')
files.each { file -> env.CHANGES_FILE = file.name }
}
@ -46,7 +49,6 @@ pipeline {
variable: 'DPUT_CONFIG')
]) {
sshagent(credentials: ['jenkins-agent']) {
echo env.DPUT_CONFIG
echo env.CHANGES_FILE
sleep 86400
sh 'dput --config "$DPUT_CONFIG" verdnatura "../$CHANGES_FILE"'