I assume you're using https rather than http protocol for the URL.  If not,
then that is worth trying.

Is there a reason you're not using the URL
https://bitbucket.org/username/reponame (like
https://bitbucket.org/markewaite/git-client-plugin or
https://bitbucket.org/markewaite/bin) and then placing your username and
password into a credential which you can then choose from the credentials
drop down list?  That's the technique I use for the git client plugin unit
tests with bitbucket, for the integration tests with bitbucket, and for the
acceptance tests with bitbucket.

You could also consider switching from https protocol to ssh protocol.  If
you choose to use ssh protocol, then you'll need to add a public key to
your bitbucket account, register the private key with the Jenkins
credential manager, then reference that private key from your job
definition.

Thanks,
Mark Waite

On Sat, Aug 13, 2016 at 1:54 PM Daniel Guisinger <[email protected]>
wrote:

> Hey guys, I am hitting my head against the wall with what should be an
> extremely easy thing to get working....
>
> I'm trying to use the git scm interface in jenkins to pull down a test
> project off bitbucket.
> I keep getting authentication errors.
>
> I have setup my username/password in the credential manager.
>
> Here are the things I've tried:
> http://[email protected].....    fails
> http://username:[email protected]...... fails
> http//username:[email protected]..., with no -none- selected for
> credentials.... fails
>
> http://bitbucket.org.... but with the repository made public.... success
> http://username:[email protected].... but with the repository made
> public.... success
>
> From the command line, I can perform a git clone command with the
> username:password syntax with no issues.
>
> I am at a complete loss as to why I can't get the git plug-in to
> authenticate.
> I'm hoping someone else has experience with this issue because I'm just
> spinning my wheels and am making no progress....
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/59ff9e75-466c-4a33-8bd7-25da22c6044a%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/59ff9e75-466c-4a33-8bd7-25da22c6044a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHVoCTd37d08oeUSjYcKccXN0-X23%2B5i4vS13CMQtFeEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to