title: Jenkins: Access bitbucket payload in shell
body: <p>According to the documentation of the bitbucket plugin for Jenkins (<a href="https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin" rel="noreferrer">https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin</a>) it should be possible to access the payload infos through the environment varaible $BITBUCKET_PAYLOAD.
  However when in my build I run the command printenv, there is no environment variable called $BITBUCKET_PAYLOAD, and nothing related to it.
  So it's impossible for me to access informations I need to configure my build.</p>