Jenkins job is not taking changes(commits) for release branch. Right now, it's taking changes for develop branch only. So, I want to modify a code in jenkins file, So that it can take changes(commits) for release branch as well.
- The job uses 'develop' branch for all repos in INT environment and release/yy.mm for ACP environment.
- By default, 'develop' is used for dev environment. However, branch names can be overridden in the
- environment variables: GIT_CONFIG_BRANCH, GIT_APP_BRANCH Below is code is in jenkinsfile:
// Source Code env.GIT_APP_URL = "ssh://git@xyz.com/PR1234/ap56789-calculation.git"
env.GIT_APP_BRANCH = "develop"
How to pass environment variable to override it? and how I can point to any branch which may select in future?
Can anyone guide me what changes should I do in above code? So that release branch also take changes(Commit).