ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-07-10 12:18:05 +02:00
parent 5ac6652663
commit fba0c73402
1 changed files with 5 additions and 6 deletions

11
Jenkinsfile vendored
View File

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