Forums

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

How Do You Pass Credentials from Jenkins

david.rogers@incontrol.com May 30, 2020

I have not been able to figure out how to pass credentials from Jenkins to Bitbucket to check out a repository for Jenkins to build.

Obviously, I do not want to send plain text across the wire.

This was easy for Github, using a Personal Access Token and configuring Jenkins to use that token.

Not so straight forward with Bitbucket.

2 answers

0 votes
david.rogers@incontrol.com May 31, 2020

I can't even see the word Jenkins on that page.

If that is as good as Atlassian instructions get, its pretty disappointing.

It shouldn't be this hard.

Github made it easy, to the tune of minutes.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2020

You asked a very generic question - yes, about Jenkins Authorisation from Bitbucket, but there's no information in your question about how you might be doing that, such as which app you might be using to handle the connection (if any), or if you're writing your own thing to do it.

The page I've linked to is the starting point for understanding (and hence coding for) a connection to any other system.  We can't give you much more than that because there's not much in your question to narrow it down to something more specific.

david.rogers@incontrol.com May 31, 2020

Github made it easy, to the tune of minutes.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2020

You haven't said what this "it" is - "connect to something" is usually very easy in Bitbucket, but without knowing what you're talking about, I can't do anything other than point you at generics.

What, exactly are you trying to get Bitbucket to do?

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events