Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modify this
- checkout([
- $class: 'GitSCM',
- userRemoteConfigs: [[url: BLAHBLAHBLAH]],
- branches: [[name: "${AUTOMATION_BRANCH}"]],
- extensions: [
- [$class: 'RelativeTargetDirectory', relativeTargetDir: automation_repo_name],
- [$class: 'ScmName', name: automation_repo_name],
- [$class: 'CleanBeforeCheckout'],
- [$class: 'CloneOption', timeout: 60],
- [$class: 'CheckoutOption', timeout: 60]
- ]
- ])
- to something like this
- checkout([
- $class: 'GitSCM',
- userRemoteConfigs: [[credentialsId: 'buildat_ssh_credentials', url: BLAHBLAHBLAH]],
- branches: [[name: "${AUTOMATION_BRANCH}"]],
- extensions: [
- [$class: 'RelativeTargetDirectory', relativeTargetDir: automation_repo_name],
- [$class: 'ScmName', name: automation_repo_name],
- [$class: 'CleanBeforeCheckout'],
- [$class: 'CloneOption', timeout: 60],
- [$class: 'CheckoutOption', timeout: 60]
- ]
- ])
- PLEASE DON'T COPY PASTE THIS, IT WON'T WORK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement