ci: refs #7643 Reprepro debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Juan Ferrer 2024-07-09 17:31:24 +02:00
parent 8a022aac66
commit fd11c1ea00
1 changed files with 22 additions and 4 deletions

26
Jenkinsfile vendored
View File

@ -37,11 +37,29 @@ pipeline {
}
steps {
sh 'debuild -us -uc -b'
sh 'mkdir -p output'
sh 'mv ../*.deb ../*.build ../*.changes ../*.buildinfo output'
sleep 86400
//sh 'mkdir -p output'
//sh 'mv ../*.deb ../*.build ../*.changes ../*.buildinfo output'
stash includes: 'output/*', name: 'debuildOutput'
script {
def files = findFiles(glob: '../*.changes')
files.each { file -> changesFile = file.name }
}
withCredentials([sshUserPrivateKey(
credentialsId: 'jenkins-agent',
keyFileVariable: 'keyFile'
)]) {
configFileProvider([
configFile(fileId: "dput.cf",
variable: 'DPUT_CONFIG')
]) {
echo changesFile
echo 'dput --config $DPUT_CONFIG verdnatura'
sleep 86400
}
}
//stash includes: 'output/*', name: 'debuildOutput'
}
}
stage('Reprepro') {