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