Closed Karmaki closed 8 years ago
Sorry for the duplicate, this seems to be the same bug than #22.
The stash host must be a HTTPS or HTTP URL. You CANNOT use ssh. This is the URL for the Stash REST API!!!
Make sure your SSL certificates are valid, if not add the CA as trusted on your jenkins machine. There is a PR which allows you to ignore SSL. We use this with https every day without a problem.
I used this plug-in with a dummy stash installation, and it is working well, but the access used
http
. Not, I am going back to my real project. My git repository URL looksssh://git@git.<stashURL>:7999/<project>/<repo>.git
and it is working well. But I want to use the plugin (1.3.1 version), I cannot manage to find what to put in theStash Host
field.java.lang.IllegalStateException: unsupported protocol: 'ssh'
Unrecognized SSL message, plaintext connection?
git.<stashURL>:7999
givesjava.lang.IllegalStateException: unsupported protocol
https://git.<stashURL>:7999
givesjava.lang.NullPointerException
java.lang.IllegalArgumentException: host parameter is null
What am I supposed to put here in this case ? Is this supported ? Thanks in advance for your help.