ci: run titan-iac promote step in jnlp git-capable container
This commit is contained in:
parent
8cd170736a
commit
131c34012b
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -93,6 +93,7 @@ spec:
|
||||
}
|
||||
}
|
||||
steps {
|
||||
container('jnlp') {
|
||||
withCredentials([usernamePassword(credentialsId: 'gitea-pat', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_TOKEN')]) {
|
||||
sh '''
|
||||
set +x
|
||||
@ -105,6 +106,7 @@ spec:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
script {
|
||||
|
||||
@ -92,6 +92,7 @@ spec:
|
||||
}
|
||||
}
|
||||
steps {
|
||||
container('jnlp') {
|
||||
withCredentials([usernamePassword(credentialsId: 'gitea-pat', usernameVariable: 'GIT_USER', passwordVariable: 'GIT_TOKEN')]) {
|
||||
sh '''
|
||||
set +x
|
||||
@ -104,6 +105,7 @@ spec:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
script {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user