Skip to content

Commit

Permalink
Moving wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmanshu.singh committed Feb 27, 2017
1 parent f2f1e91 commit 2265052
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions projects/jobs/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,21 @@ return cartridge_urls;
maskPasswords()
credentialsBinding {
file('SCM_SSH_KEY', 'adop-jenkins-private')
}
copyToSlaveBuildWrapper {
includes("**/**")
excludes("")
flatten(false)
includeAntExcludes(false)
relativeTo('''${JENKINS_HOME}/userContent''')
hudsonHomeRelative(false)
}
}
copyToSlaveBuildWrapper {
includes("**/**")
excludes("")
flatten(false)
includeAntExcludes(false)
relativeTo('''${JENKINS_HOME}/userContent''')
hudsonHomeRelative(false)
}
label("!master")
steps {
shell('''#!/bin/bash -ex
mkdir #{WORKSPACE}/tmp
mkdir ${WORKSPACE}/tmp
# Output SCM provider ID to a properties file
echo SCM_PROVIDER_ID=$(echo ${SCM_PROVIDER} | cut -d "(" -f2 | cut -d ")" -f1) > scm_provider_id.properties
Expand Down

0 comments on commit 2265052

Please sign in to comment.