We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [bitbucket]

A source control system and git hosting site from Atlassian.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
32 views

JenkinsFile to get git branch name

I want to get git current checkout BRANCH NAME in my Jenkins file here is the code snippet... Here I am trying to push a file to my current branch I have tried many things could not find it... ...
1
vote
0answers
7 views

Bitbucket: Is there any option to restrict deletion of release branch only after it is merged to master

We are using GitFlow workflow. After merging the release/* branch to master, we need to close the branch. For this task, we need to provide deletion access to pull request merger but in this case, ...
1
vote
0answers
112 views

Prevent new jenkins job scheduling builds for previous branches

I have a job set up to build when a change is pushed to Bitbucket. The first time the job runs, it'll get kicked off by a new push. The log will then state that it's seen X number of branches in the ...
0
votes
0answers
38 views

Pushing to bitbucket from within container using ssh in Jenkins declarative pipeline

I am working on a project where the build generates a file that is needed to keep some ids consistent, therefor I need to be able to make a commit and push it to a Bitbucket repo from within the ...
0
votes
0answers
14 views

How can Bitbucket webhooks be invoked after they are deleted?

I am using Jenkins 2.x and Atlassian Bitbucket 4.x. I deleted a webhook in Bitbucket. However this webhook keeps triggering builds in Jenkins. Bitbucket may be powered by Kubernetes, but I am not ...
0
votes
0answers
25 views

Block binaries from Git

How can I prevent users to push binaries file into our Git server? We are using Bitbucket as server, and I tried ScriptRunner but I can only block according to the file suffix, I am looking for ...