ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
5ac6652663
commit
fba0c73402
|
@ -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"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue