Regarding this post here: Dec 9th 2018
https://community.atlassian.com/t5/Bitbucket-Pipelines-articles/Pushing-back-to-your-repository/ba-p/958407
There was mention in the comments of a new feature in the works for Teams to be able to push back to the repository (master) from pipelines with no user,ssh key config settings.
Has this been implemented yet?
If not, what is the work around? From what I have read, SSH has been disabled unless you are on an exclusion list.
We need this feature to sync our master branch on a scheduled pipeline
thanks
Hi pagner@ciena.com
Yes this is available now. It works by using a HTTP proxy for GIT so you'll need to use the GIT HTTP URL as opposed to SSH. This is set up by default in your build (which you can see by running `git remote show origin`) but you may need to update 3rd party tooling such as maven if they reference a GIT URL directly.
The HTTP URL is also available via the ${BITBUCKET_GIT_HTTP_ORIGIN} environment variable.
You can of course still use SSH if you prefer but you will need to override the git origin URL back to the SSH one and provide an SSH key in your build.
Thanks for the response,
What about branch permissions in play with Teams?
I forgot to mention that part. We of course have branch permissions in place and that is the actual error we are hitting.
By default pipelines is using "bitbucket-pipelines" as the user. We are receiving a permission denied to update remote origin master
Sorry I missed that detail. Unfortunately branch permissions are not supported by the proxy. You will need to configure SSH as documented.
Thanks, are there any plans to implement this feature in the future? Pretty standard configuration as others have pointed out.
Paul
It looks like you're new here. Sign in or register to get started.