I am trying to run cucumber project through jenkins for which i was trying to install cucumber plugin. However , i am getting below error:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Caused: sun.security.validator.ValidatorException: PKIX path building failed
Caused: javax.net.ssl.SSLHandshakeException
What should i do to handle this error?
Instructor
Ashish Thakur Replied on 28/01/2021
This is issue in the plugin
Why are you trying Cucumber plugin?
You can run from maven directly
The scenarios are not getting executed through jenkins and hence was trying to install cucumber plugins
i am getting output as "Build Success", but scnearios are not executed
Instructor
Ashish Thakur Replied on 30/01/2021
Is your runner getting called?
No,Runner file is not getting called. I have given my git repository and pom.xml file path in jenkins. Please refer the attached screenshot,i have shared the configuration and output details.
I figured it out that I had commented required plugins in pom.xml by mistake,thats why runner file was not executing. Thanks for your help.