ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit
Details
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
21da29ab8d
commit
5ac6652663
|
@ -36,8 +36,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'debuild -us -uc -b'
|
sh 'debuild -us -uc -b'
|
||||||
|
sh 'mkdir -p output'
|
||||||
|
sh 'mv ../*.deb ../*.build ../*.changes ../*.buildinfo output'
|
||||||
|
|
||||||
script {
|
script {
|
||||||
def files = findFiles(glob: '../hedera-web_*.changes')
|
def files = findFiles(glob: 'output/*.changes')
|
||||||
files.each { file -> env.CHANGES_FILE = file.name }
|
files.each { file -> env.CHANGES_FILE = file.name }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +49,6 @@ pipeline {
|
||||||
variable: 'DPUT_CONFIG')
|
variable: 'DPUT_CONFIG')
|
||||||
]) {
|
]) {
|
||||||
sshagent(credentials: ['jenkins-agent']) {
|
sshagent(credentials: ['jenkins-agent']) {
|
||||||
echo env.DPUT_CONFIG
|
|
||||||
echo env.CHANGES_FILE
|
echo env.CHANGES_FILE
|
||||||
sleep 86400
|
sleep 86400
|
||||||
sh 'dput --config "$DPUT_CONFIG" verdnatura "../$CHANGES_FILE"'
|
sh 'dput --config "$DPUT_CONFIG" verdnatura "../$CHANGES_FILE"'
|
||||||
|
|
Loading…
Reference in New Issue