File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ package devops.jobs
22
22
import static org.edx.jenkins.dsl.Constants.common_logrotator
23
23
24
24
class SAMLSSLExpirationCheck {
25
- public static def job = { dslFactory , extraVars ->
25
+ public static def job = { dslFactory , extraVars ->
26
26
assert extraVars. containsKey(' DEPLOYMENTS' ) : " Please define DEPLOYMENTS. It should be a list of strings."
27
27
assert ! (extraVars. get(' DEPLOYMENTS' ) instanceof String ) : " Make sure DEPLOYMENTS is a list and not a string"
28
- extraVars. get(' DEPLOYMENTS' ). each { deployment ->
29
-
30
- dslFactory. job(extraVars. get(" FOLDER_NAME" ," Monitoring" ) + " /saml-ssl-expiration-check-${ deployment} " ) {
28
+ extraVars. get(' DEPLOYMENTS' ). each { deployment , configuration ->
29
+ configuration . environments . each { environment , inner_config ->
30
+ dslFactory. job(extraVars. get(" FOLDER_NAME" ," Monitoring" ) + " /saml-ssl-expiration-check- ${ environment } -${ deployment} " ) {
31
31
logRotator common_logrotator
32
32
33
33
You can’t perform that action at this time.
0 commit comments