description: 'Project github repo name'
- string:
name: PULL_BASE_REF
- default: 'main'
+ default: '{capm3_release_branch}'
description: 'Ref name of the base branch'
- string:
name: PULL_PULL_SHA
- default: 'main'
+ default: '{capm3_release_branch}'
description: 'Pull request head SHA'
- string:
name: PULL_NUMBER
pipeline-scm:
scm:
- git:
- url: "https://github.com/Nordix/metal3-project-infra.git"
+ url: "{ci_github_repo}"
credentials-id: "{ci_github_jenkins_credentials_id}"
branches:
- - 'fetch-changes-from-pr-id/mboukhalfa'
+ - '{branch|main}'
name: 'origin'
refspec: '+refs/heads/*:refs/remotes/origin/*'
wipe-workspace: True