ci: refs #7643 Debuild debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-07-10 11:16:19 +02:00
parent 5186387162
commit f863d8a897
1 changed files with 1 additions and 9 deletions

10
Jenkinsfile vendored
View File

@ -5,7 +5,6 @@ def BRANCH_ENV = [
master: 'production' master: 'production'
] ]
def remote = [:] def remote = [:]
def changesFile
node { node {
stage('Setup') { stage('Setup') {
@ -43,19 +42,12 @@ pipeline {
files.each { file -> env.CHANGES_FILE = file.name } files.each { file -> env.CHANGES_FILE = file.name }
} }
withCredentials([sshUserPrivateKey( sshagent(credentials: ['jenkins-agent']) {
credentialsId: 'jenkins-agent',
keyFileVariable: 'KEY_FILE'
)]) {
sh 'eval "$(ssh-agent -s)"'
sh 'ssh-add "$KEY_FILE"'
configFileProvider([ configFileProvider([
configFile(fileId: "dput.cf", configFile(fileId: "dput.cf",
variable: 'DPUT_CONFIG') variable: 'DPUT_CONFIG')
]) { ]) {
echo env.DPUT_CONFIG echo env.DPUT_CONFIG
echo env.KEY_FILE
echo env.CHANGES_FILE echo env.CHANGES_FILE
sh 'dput --config "$DPUT_CONFIG" verdnatura "$CHANGES_FILE"' sh 'dput --config "$DPUT_CONFIG" verdnatura "$CHANGES_FILE"'
} }