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"' } } }