nishio-dens / bitbucket-pullrequest-builder-plugin

Bitbucket Pull Request Builder Plugin for Jenkins
Other
125 stars 145 forks source link

syntax error near unexpected token `newline' #232

Open SerhiiKorolik opened 3 years ago

SerhiiKorolik commented 3 years ago

When trying to access "currentBuild.buildCauses[0].shortDescription" receive error pipeline@tmp/durable-dc6fd640/script.sh: line 1: syntax error near unexpected token `newline'

This variable is great to use in when {} expressions. It would be great to have it. For other plugins this call retrieve information about action that triggered the job (e.g. Started by an SCM change)