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 11:19:05 +02:00
parent f863d8a897
commit 47acbb7ebb
1 changed files with 6 additions and 7 deletions

13
Jenkinsfile vendored
View File

@ -36,20 +36,19 @@ pipeline {
} }
steps { steps {
sh 'debuild -us -uc -b' sh 'debuild -us -uc -b'
script { script {
def files = findFiles(glob: '../hedera-web_*.changes') def files = findFiles(glob: '../hedera-web_*.changes')
files.each { file -> env.CHANGES_FILE = file.name } files.each { file -> env.CHANGES_FILE = file.name }
} }
sshagent(credentials: ['jenkins-agent']) { configFileProvider([
configFileProvider([ configFile(fileId: "dput.cf",
configFile(fileId: "dput.cf", variable: 'DPUT_CONFIG')
variable: 'DPUT_CONFIG') ]) {
]) { sshagent(credentials: ['jenkins-agent']) {
echo env.DPUT_CONFIG echo env.DPUT_CONFIG
echo env.CHANGES_FILE echo env.CHANGES_FILE
sh 'dput --config "$DPUT_CONFIG" verdnatura "$CHANGES_FILE"' sh 'dput --config "$DPUT_CONFIG" verdnatura "../hedera-web_*.changes"'
} }
} }
} }