Eernie / StashBranchParametersPlugin

0 stars 21 forks source link

What should the API path be? #1

Closed nwalke closed 9 years ago

nwalke commented 9 years ago

I'm trying to use this plugin to grab tag names as a parameter for a Jenkins job. What should the Stash api url look like?

Is it something like "https://stash.company.com/rest/api/1.0/"? Or should it be "https://stash.company.com"?

I'm using a user I know has permissions to Stash and can clone/update repos all day, but I'm getting "Authorization Failed" when I try to set it up.

Eernie commented 9 years ago

It should be "https://stash.company.com/rest/api/1.0". It's logging in via Basic-auth. Do you also get a stack trace or something?

nwalke commented 9 years ago

Ah, I figured it out. That user needed to enter a captcha...