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

Provide support for Declarative Pipeline

    XMLWordPrintable

Details

    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

            this is now released with version 1.1.6

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

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

            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.

            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

            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

            People

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

              Dates

                Created:
                Updated:
                Resolved: