Skip to content

Commit

Permalink
Add secrets as a variable to the generateAntPodTemplate in Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ribafish authored and pzygielo committed Jan 23, 2025
1 parent b011766 commit 514f452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def antjobs = [
]

def parallelStagesMap = antjobs.collectEntries {
["${it}": generateAntPodTemplate(it)]
["${it}": generateAntPodTemplate(it, secrets)]
}

def generateAntPodTemplate(job) {
def generateAntPodTemplate(job, secrets) {
return {
node {
stage("${job}") {
Expand Down

0 comments on commit 514f452

Please sign in to comment.