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

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

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events