-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
Jenkins 2.207
Bitbucket Server Integration 1.0.3
When creating a pipeline build none of the options allow environment variables. The documentation I found at https://jenkins.io/doc/pipeline/steps/atlassian-bitbucket-server-integration/ states that the branch name should be able to use environment variable, however, it doesn't appear to mark it up.
Hard Coded Example:
branches: [[name: 'branchname']]
Results:
Produces a scan just on branch with name 'branchname'
Environment Example 1:
branches: [[name: '${ENV_VARNAME}']]
Result:
Produces a scan of all branches in all the repoisotry
Environment Example 2:
branches: [[name: '${env.ENV_VARNAME}']]
Result:
Stack Exception