ci: run titan-iac promote step in jnlp git-capable container

This commit is contained in:
Brad Stein 2026-04-10 17:41:27 -03:00
parent 8cd170736a
commit 131c34012b
2 changed files with 20 additions and 16 deletions

2
Jenkinsfile vendored
View File

@ -93,6 +93,7 @@ spec:
} }
} }
steps { steps {
container('jnlp') {
withCredentials([usernamePassword(credentialsId: 'gitea-pat', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_TOKEN')]) { withCredentials([usernamePassword(credentialsId: 'gitea-pat', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_TOKEN')]) {
sh ''' sh '''
set +x set +x
@ -105,6 +106,7 @@ spec:
} }
} }
} }
}
post { post {
always { always {
script { script {

View File

@ -92,6 +92,7 @@ spec:
} }
} }
steps { steps {
container('jnlp') {
withCredentials([usernamePassword(credentialsId: 'gitea-pat', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_TOKEN')]) { withCredentials([usernamePassword(credentialsId: 'gitea-pat', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_TOKEN')]) {
sh ''' sh '''
set +x set +x
@ -104,6 +105,7 @@ spec:
} }
} }
} }
}
post { post {
always { always {
script { script {