The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pushing back to your repository

56 comments

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

Juan Pablo Vega
Contributor
March 7, 2019

+1 for branch permissions when using HTTP, somehow.

Like matthewpetrie likes this
matthewpetrie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2019

+1 for branch permissions for CI

Deleted user
April 19, 2019

is it necessary to have the pipeline fail on a git commit that doesn't have anything to commit?

i guess the simplest workaround everyone is doing is providing an echo output to a file prior?

will this pipeline failure on nothing to commit always behave like this or is there any change in the works?

 

thx for any info.

 

-jw

Marcy Nugent
April 19, 2019

If you don't want a pipeline failure on a git command, use the "OR" operand || to allow the command to return 0:

- git commit -a || echo "Nothing to commit"
- git push || echo "Nothing to push"
Like Deleted user likes this
Alex Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2019

 

Pushing back using the http origin to repositories where branch permissions are enabled is not yet supported. 

+1 to have this supported as we are using branch permission.

 

Our current workaround is to switch to SSH before pushing

git remote set-url origin ${BITBUCKET_GIT_SSH_ORIGIN}
Gohar Anwar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 4, 2020

Any update regarding the support of pushing back using the http origin with branch permissions enabled?

Like # people like this

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

TAGS
AUG Leaders

Atlassian Community Events