From 47acbb7ebb9731b7ce5f43fae943995aea3c9cd3 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 10 Jul 2024 11:19:05 +0200 Subject: [PATCH] ci: refs #7643 Debuild dput debug --- Jenkinsfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0ed1b18b..58c58c00 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,20 +36,19 @@ pipeline { } steps { sh 'debuild -us -uc -b' - script { def files = findFiles(glob: '../hedera-web_*.changes') files.each { file -> env.CHANGES_FILE = file.name } } - sshagent(credentials: ['jenkins-agent']) { - configFileProvider([ - configFile(fileId: "dput.cf", - variable: 'DPUT_CONFIG') - ]) { + configFileProvider([ + configFile(fileId: "dput.cf", + variable: 'DPUT_CONFIG') + ]) { + sshagent(credentials: ['jenkins-agent']) { echo env.DPUT_CONFIG echo env.CHANGES_FILE - sh 'dput --config "$DPUT_CONFIG" verdnatura "$CHANGES_FILE"' + sh 'dput --config "$DPUT_CONFIG" verdnatura "../hedera-web_*.changes"' } } }