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: 

git push with ssh from jenkins pipeline to bitbucket cloud

Ron
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!
January 16, 2023

Hi all ..

I'm trying to push code from pipeline to bitbucket cloud with ssh. 

git pull & git clone - works good . 

git push - failed !

I founded some info that we can't push with ssh to bitbucket cloud . thats correct ?

If yes , what can be the solution for push code from my pipeline to the repository in bitbucket cloud ?

thanks . 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2023

Hello @Ron ,

Thank you for reaching out to Atlassian Community!

From the error you reported, I suspect you are using repository-level or project-level access keys, which indeed only provide read-only access (clone/pull) to a repository.

In case you also want to push using an access key, you will have to add the key at the workspace level. Workspace level access key provide read and write access to the repositories within a workspace.

For more details about the difference between each level of access key and how to add them you're welcome to take a look at the article Difference between repository, project and workspace access keys .

Thank you, @Ron !

Patrik S

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events