From fba0c734027ffd5eb75dd5f9e963e2c28473f29a Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 10 Jul 2024 12:18:05 +0200 Subject: [PATCH] ci: refs #7643 Debuild dput debug --- Jenkinsfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dcb6e86b..1d5b8f47 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,11 +36,12 @@ pipeline { } steps { sh 'debuild -us -uc -b' - sh 'mkdir -p output' - sh 'mv ../*.deb ../*.build ../*.changes ../*.buildinfo output' + sh 'mkdir -p debuild' + sh 'rm debuild/*' + sh 'mv ../hedera-web_* debuild' script { - def files = findFiles(glob: 'output/*.changes') + def files = findFiles(glob: 'debuild/*.changes') files.each { file -> env.CHANGES_FILE = file.name } } @@ -49,9 +50,7 @@ pipeline { variable: 'DPUT_CONFIG') ]) { sshagent(credentials: ['jenkins-agent']) { - echo env.CHANGES_FILE - sleep 86400 - sh 'dput --config "$DPUT_CONFIG" verdnatura "../$CHANGES_FILE"' + sh 'dput --config "$DPUT_CONFIG" verdnatura "debuild/$CHANGES_FILE"' } } }