Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Jenkins Bitbucket Plugin - Triggers the pipeline even when repo is not configured with webhook

Bitbucket Plugin - Triggers the Jenkins pipeline even when the repo is not configured with webhook. This happening only when we are using two or more different repos in the pipeline.

Consider:

We have two Bitbucket repos A and B one for hosting Codes and another one for hosting Build and Deployment scripts. (Devops related)

  1. Jenkins Pipeline - Configured to use Jenkinsfile from SCM in our case Repo A and Branch develop
  2. Jenkinsfile in turn will clone the Repo B for build and deployments scripts while pipeline is running using checkout step
  3. Repo A is configured with Webhook and Repo B is not configured with Webhook.

Steps to Reproduce:

  1. Commit something in the develop branch of Repo A and its trigger the pipeline as expected. No issue.
  2. Commit Something in the Repo B. No triggers since it was not configured with Webhook and its expected no issue.
  3. Now Commit something in the different branch of Repo A and its trigger the pipeline since there is change in the Repo B. I verified this in the Bitbucket Webhook log.

What we are expecting:

Whenever there is a change in develop branch of Repo A it can trigger the pipeline. But it should not trigger the pipeline for other Branches for Repo A or other Repos itself.

FYI, JIRA Ticket raised in Jenkins too.
https://issues.jenkins.io/browse/JENKINS-64340

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,347 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you