Skip to content

Commit

Permalink
Fix Conditionals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Northard, Robert A committed Feb 23, 2017
1 parent 3d1ccb3 commit 13151d6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions workspaces/jobs/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ generateProjectJob.with{
preBuildCleanup()
injectPasswords()
maskPasswords()
if("${ADOP_LDAP_ENABLED}" == "true")
if("${ADOP_ACL_ENABLED}" == "true")
{
environmentVariables
{
Expand All @@ -36,12 +36,14 @@ generateProjectJob.with{
env('OU_PEOPLE','ou=people')
env('OUTPUT_FILE','output.ldif')
}

credentialsBinding
{
usernamePassword("LDAP_ADMIN_USER", "LDAP_ADMIN_PASSWORD", "adop-ldap-admin")
}
sshAgent("adop-jenkins-master")
if("${ADOP_LDAP_ENABLED}" == "true")
{
credentialsBinding
{
usernamePassword("LDAP_ADMIN_USER", "LDAP_ADMIN_PASSWORD", "adop-ldap-admin")
}
sshAgent("adop-jenkins-master")
}
}
sshAgent("adop-jenkins-master")
}
Expand Down

0 comments on commit 13151d6

Please sign in to comment.