title: Jenkins Bitbucket Notifier does not notify when using pipeline
body: <p>I have this JenkinsFile</p>
  
  <pre><code>pipeline {
    agent {
      node {
        label 'SERVER'
      }
    }
    stages {
      stage('Notificando Inicio do Job') {
        steps {        
          bitbucketStatusNotify buildState: 'INPROGRESS'
        }
      }
      stage('Restore') {
        steps {
          powershell(script: 'dotnet restore', returnStatus: false)
        }
      }
      stage('Build') {
        steps {
          powershell(script: 'dotnet build ./path', returnStatus: false)
        }
      }
      stage('Test') {
        steps {
          powershell(script: 'dotnet test ./path', returnStatus: false)
        }
      }
    }
    post{
        always{
          echo "Finalizando Build..."
        }
        success{
          bitbucketStatusNotify buildState: 'SUCCESS'
        }
        failure{        
          bitbucketStatusNotify buildState: 'FAILED'        
        }
    }
  }
  </code></pre>
  
  <p>My desire is notify Bitbucket with build status.</p>
  
  <p>This Jenkinsfile works perfectly ok when I run from an Multi-Branch pipeline, but, when I use it with a simple pipeline, it does not work.</p>
  
  <p>Then, I go to the jenkins logs, and the only this related is...
  But, from <a href="https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin" rel="nofollow noreferrer">plugin doc</a>, these parameters are not mandatory.</p>
  
  <p><a href="https://i.stack.imgur.com/E3rkY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E3rkY.png" alt="enter image description here"></a></p>
  
  <p>My oauth client is correctly configured on bitbucket.</p>
  
  <p><a href="https://i.stack.imgur.com/EiAoP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EiAoP.png" alt="enter image description here"></a></p>
  
  <p>And on my jenkins, I have the credentials ok;</p>
  
  <p><a href="https://i.stack.imgur.com/DpRv3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DpRv3.png" alt="enter image description here"></a></p>
  
  <p>What I'm doing wrong?
  How can I make it happen?</p>