Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-20427] [FIXED JENKINS-14276] expanded vars in branch s…
…pec for remote polling
- Loading branch information
1 parent
fe43851
commit 75e4e6c
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75e4e6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on git-2.5.0-beta5 and my scm polling still doesn't work if I parameterize branch with an environment variable. Any clues?
75e4e6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need more information on what precisely you're expecting from a branch name that includes an environment variable. I don't understand your "still doesn't work" comment.
Are you expecting that it will take the value of the environment variable from the Jenkins master process?
Should it take the value of the environment variable from the last run of the job?
75e4e6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
branch name in my case is coming from env variable defined at pipeline level. And scm polling job is part of that pipeline. The polling just doesn't pick the changes if I use variable which is an environment variable coming from pipeline level in branch spec. Just for the same of testing I included a parameter in the job and when used that in branch spec the scm polling works, so somehow the problem is only with the environment variable coming from pipeline level.