diff --git a/Jenkinsfile b/Jenkinsfile index 996e1917..dcb6e86b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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"'