Skip to content

Commit 7c59fc8

Browse files
drBosseEwelina Wilkosz
authored andcommitted
Fix #213 (#214)
1 parent 41d1c2e commit 7c59fc8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dockerizeit/master/securityAD.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ if(properties.ad.enabled) {
1919
true,
2020
new CacheConfiguration(1000, 6000),
2121
false)
22+
23+
realm.getDomains().each({
24+
it.bindName = realm.bindName
25+
it.bindPassword = realm.bindPassword
26+
})
27+
2228
Jenkins.instance.setSecurityRealm(realm)
2329
Jenkins.instance.save()
2430
}

0 commit comments

Comments
 (0)