Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44309

Provide support for Declarative Pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be we could set the bitbucket trigger using Declarative Pipeline:

      pipeline {
          agent { label 'master' }
      
          triggers {
              bitbucketPush()
          }
      
          stage ('checkout') {
            steps {
             checkout scm
            }
          }
      }
      

        Attachments

          Issue Links

            Activity

            Hide
            velter Pieter Develtere added a comment -

            What is the status of this issue? I am using a declaritive Jenkinsfile, and I'm still getting this error:
            Invalid trigger type "bitbucketPush".
             Would be awesome if I didn't have to poll anymore

            Show
            velter Pieter Develtere added a comment - What is the status of this issue? I am using a declaritive Jenkinsfile, and I'm still getting this error: Invalid trigger type "bitbucketPush".  Would be awesome if I didn't have to poll anymore
            Hide
            brvandewalle Bram Vandewalle added a comment -

            Any update on this? Polling feels so 90s, would be great to have builds when we push to BitBucket.

            Show
            brvandewalle Bram Vandewalle added a comment - Any update on this? Polling feels so 90s, would be great to have builds when we push to BitBucket.
            Hide
            imod Dominik Bartholdi added a comment -

            this is now released with version 1.1.6

            Show
            imod Dominik Bartholdi added a comment - this is now released with version 1.1.6

              People

              • Assignee:
                allan_burdajewicz Allan BURDAJEWICZ
                Reporter:
                allan_burdajewicz Allan BURDAJEWICZ
              • Votes:
                10 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: