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

Freestyle Job will not fire if "Bitbucket Server" selected in SCM

      Follow all configuration settings as described in this link:  https://plugins.jenkins.io/atlassian-bitbucket-server-integration/

      Push / PR, not fire freestyle job although it did work for a multibranch pipeline job ( not at the same time ).

      Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in Bitbucket.

       

      Plugin Version: Bitbucket Server Integration 3.3.2

      Steps :

      1. Configure Job as a descript here: https://plugins.jenkins.io/atlassian-bitbucket-server-integration/#plugin-content-select-a-bitbucket-server-instance-when-creating-a-freestyle-job
      2. Verify webbook is created ( see images below )
      3. Create PR 
      4. Freestyle Job should start to  build with 
      5. Triggered by Bitbucket webhook due to changes by Danil Shalumov.
        Running as SYSTEM

       

       

       

       

        1. screenshot-5.png
          screenshot-5.png
          36 kB
        2. screenshot-4.png
          screenshot-4.png
          41 kB
        3. screenshot-3.png
          screenshot-3.png
          96 kB
        4. screenshot-2.png
          screenshot-2.png
          90 kB
        5. screenshot-1.png
          screenshot-1.png
          32 kB

          [JENKINS-70411] Freestyle Job will not fire if "Bitbucket Server" selected in SCM

          Danil created issue -
          Danil made changes -
          Description Original: Follow all configuration settings as described in this link:  [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/]

           

          Push / PR, not fire freestyle job although it did fire multibranch pipeline job ( not at the same time ).

           

          Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in BitBucket.

           

           

           

           

           
          New: Follow all configuration settings as described in this link:  [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/]

           

          Push / PR, not fire freestyle job although it did work for a multibranch pipeline job ( not at the same time ).

           

          Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in Bitbucket.

           

           

           

           

           

          Hi Danil, thanks for your report. I'm assuming you're reporting that a freestyle job is not being fired after a push or pull request event is occurring in the repository the SCM is pointing to.

          Can you please provide the following details to this report:

          • The version of the plugin you are using
          • The exact steps you followed in setting up your freestyle branch setup, and your current configuration
          • The logging in Bitbucket showing the webhook being fired when a push or pull request event occurs
          • Logging in Jenkins (if there is any) of that webhook being received

          Martin Henschke added a comment - Hi Danil, thanks for your report. I'm assuming you're reporting that a freestyle job is not being fired after a push or pull request event is occurring in the repository the SCM is pointing to. Can you please provide the following details to this report: The version of the plugin you are using The exact steps you followed in setting up your freestyle branch setup, and your current configuration The logging in Bitbucket showing the webhook being fired when a push or pull request event occurs Logging in Jenkins (if there is any) of that webhook being received
          Danil made changes -
          Description Original: Follow all configuration settings as described in this link:  [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/]

           

          Push / PR, not fire freestyle job although it did work for a multibranch pipeline job ( not at the same time ).

           

          Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in Bitbucket.

           

           

           

           

           
          New: Follow all configuration settings as described in this link:  [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/]

          Push / PR, not fire freestyle job although it did work for a multibranch pipeline job ( not at the same time ).

          Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in Bitbucket.

           

          Plugin Version: Bitbucket Server Integration 3.3.2

           

           

           

           

           
          Danil made changes -
          Attachment New: screenshot-1.png [ 59826 ]
          Danil made changes -
          Description Original: Follow all configuration settings as described in this link:  [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/]

          Push / PR, not fire freestyle job although it did work for a multibranch pipeline job ( not at the same time ).

          Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in Bitbucket.

           

          Plugin Version: Bitbucket Server Integration 3.3.2

           

           

           

           

           
          New: Follow all configuration settings as described in this link:  [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/]

          Push / PR, not fire freestyle job although it did work for a multibranch pipeline job ( not at the same time ).

          Changing from "Bitbucket Server" in SCM into "Git" did fire a job after Push / PR in Bitbucket.

           

          Plugin Version: Bitbucket Server Integration 3.3.2

          Steps :
           # Configure Job as a descript here: [https://plugins.jenkins.io/atlassian-bitbucket-server-integration/#plugin-content-select-a-bitbucket-server-instance-when-creating-a-freestyle-job]
           # Verify webbook is created ( see image below )

           

           

           

           
          Danil made changes -
          Attachment New: screenshot-2.png [ 59827 ]
          Danil made changes -
          Attachment New: screenshot-3.png [ 59828 ]
          Danil made changes -
          Attachment New: screenshot-4.png [ 59829 ]
          Danil made changes -
          Attachment New: screenshot-5.png [ 59830 ]

            Unassigned Unassigned
            danils Danil
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: