Skip to content

Commit

Permalink
Changed Jenkins secrets dir
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarcic committed Apr 19, 2018
1 parent a5b3bbd commit ce9dc7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/security.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import jenkins.security.s2m.AdminWhitelistRule

def instance = Jenkins.getInstance()

def user = new File(env["SECRETS_DIR"] + "/jenkins-user").text.trim()
def pass = new File(env["SECRETS_DIR"] + "/jenkins-pass").text.trim()
def user = new File(System.getenv()["SECRETS_DIR"] + "/jenkins-user").text.trim()
def pass = new File(System.getenv()["SECRETS_DIR"] + "/jenkins-pass").text.trim()

println "Creating user " + user + "..."

Expand Down

0 comments on commit ce9dc7d

Please sign in to comment.