Hi,
I'm using script runner add-on to invoke groovy script on jira server, I was calling jenkins server over the http protocol using this groovy script.
Jenkins server has been updated to use https, so I have updated my groovy script with https but it's not working.
It is failing to call jenkins sever over the https but over the http protocol it is working fine.
Hello,
Could you show the error?
Please find the error below.
/secure/WorkflowUIDispatcher.jspa [invokeJenkinsBuild.groovy] Jenkins connection code: sun.net.www.protocol.https.DelegateHttpsURLConnection:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to make a rest call to Jenkins using SOAP UI or something like that from the Jira host and see if it is scriptrunner problem or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey,
Do I need to add SSL certificate in groovy script in order to make https calls.
Thanks
Premdas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I never had to do it. Your error must be something like SSL certificate is not trusted. But I guess it is not the error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.