Building remotely on
node1
in workspace C:\\Builds\\Jenkins\\workspace\\Foot_Driver Querying for remote changeset at '$/AEXX/' as of 'D2017-06-23T15:26:13Z'... FATAL: com.microsoft.tfs.core.exceptions.TECoreException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targe
According to the error info sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targe
which clearly complains about certificate validation. This may due to when working on a client that works with an SSL enabled server running in https protocol.
Try to add -Djavax.net.ssl.trustStore
location in jenkins-slave.xml
and well as add jssecacerts to lib\\security
of java used for your Jenkins's slave to run.
More info about the error please take a look this blog-- unable to find valid certification path to requested target
By adding all the certs in the chain to the cacerts, issue got resolved.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.