Skip to content

Commit

Permalink
Undo deletion of init_synchronization_channels_script.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
mbenguig committed Oct 29, 2024
1 parent a9495db commit 71e28f7
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
def jobId = variables.get("PA_JOB_ID")

println "Initialising synchronization channels for job: " + jobId
variables.each { key, value ->
if (key.startsWith("ComponentName")) {
synchronizationapi.createChannel(jobId + value, false)
println "Channel " + jobId + value + " created."
}
}
println "Initialising synchronization channels done!"

0 comments on commit 71e28f7

Please sign in to comment.