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

            allan_burdajewicz Allan BURDAJEWICZ created issue -
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Field Original Value New Value
            Assignee Allan BURDAJEWICZ [ allan_burdajewicz ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Remote Link This issue links to "bitbucket-plugin #46 (Web Link)" [ 16802 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]

            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

            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.
            circe Maxime Circe made changes -
            Link This issue relates to JENKINS-38447 [ JENKINS-38447 ]

            this is now released with version 1.1.6

            imod Dominik Bartholdi added a comment - this is now released with version 1.1.6
            imod Dominik Bartholdi made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2266 (Web Link)" [ 18368 ]

            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: