在Windows7中, Jenkins以Service方式启动。
配置Job 运行 bat command
svn list https://domain_addres/svn
会出现错误
Error validating server certificate for 'https://domain_addres:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: chopin
- Valid: from Thu, 19 May 2011 23:33:33 GMT until Sun, 16 May 2021 23:33:33 GMT
- Issuer: chopin
- Fingerprint: 56:00:85:5d:07:e7:96:5c:b7:95:05:17:d7:9c:c7:cf:b3:bd:9c:66
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: OPTIONS of 'https://domain_addres/svn': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted (https://domain_addres)
这是因为证书无法识别, 需要输入'p'来保存证书。 但是在Job中是无法手动交互的。
Google之后,
http://jenkins.361315.n4.nabble.com/Server-certificate-verification-failed-issuer-is-not-trusted-td391689.html
http://blog.csdn.net/kapuliyuehan/article/details/6733903
可以指定--config-dir 【可以工作】
或者在cmd中手动输入同样命令,输入‘p' 来保持证书。【Jenkins 中仍然不能工作】
之后尝试使用java -jar jenkins.war启动Jenkins, 错误信息没有出现, 可以工作。于是觉得是不是以Service方式启动Jenkins的用户有没有保存证书。
更改LogOn User并重启Jenkins Service, Job可以正常运行,没有错误信息
This account 选择当前用户(因为在cmd中,当前用户已经保存了证书)。
- 大小: 183.9 KB
分享到:
相关推荐
jenkins发版报错Host key verification failed. jenkins发版报错Host key verification failed. jenkins发版报错Host key verification failed. jenkins发版报错Host key verification failed. jenkins发版报错Host ...
最新版本jenkins-2.227-1.1.noarch.rpm 最新版本jenkins-2.227-1.1.noarch.rpm
jenkins-2.249.3-1.1.noarch.rpm
Jenkins-X是一个自动化工具,它是Jenkins的扩展版本,专注于Kubernetes环境的持续集成和持续交付(CI/CD)。这个离线安装包是为了在没有网络连接或者网络受限的环境中安装Jenkins-X而设计的,它包含了所有必要的组件...
jenkins-jnlp-slave镜像
jenkins-2.346.3-1.1.noarch.rpm rpm包,最后一个jdk8的版本
jenkins-2.289.3-1.1.noarch.rpm
jenkins-2.244-1.1.noarch.rpm
jenkins自动化持续集成rpm安装包,需要先安装jdk,然后通过yum install jenkins-2.239-1.1.noarch.rpm的方式来安装
url 'http://your-jenkins-server.com' credentials { usernamePassword 'jenkinsUser', 'jenkinsPassword' } job 'myJob' { description 'This is my Gradle-powered Jenkins job' scm { git '...
jenkins-2.222-1.1.noarch ,国内下载资源太慢,要搭建jenkins的自动部署的朋友,可以从这里下载
Mac版jenkins安装包 jenkins-2.222.1。网络太差,用这个就好了,哈哈哈哈哈啊 紫薯布丁紫薯布丁紫薯布丁
安装包jenkins 离线下jenkins-2.384-1.1.noarch.rpm 安装包jenkins 离线下jenkins-2.384-1.1.noarch.rpm 安装包jenkins 离线下jenkins-2.384-1.1.noarch.rpm 安装包jenkins 离线下jenkins-2.384-1.1.noarch.rpm ...
Linux运维-运维课程MP4频-05容器-84代码自动发布系统介绍-jenkins-server添加插件.mp4
jenkins-2.401.2-1.1.noarch.rpm
jenkins-jira-plugin-1.3.3.hpi
node-v16.16.0-linux-x64.tar.gz jenkins.war(Jenkins-2.346.1,jdk8) jdk-11.0.19_linux-x64_bin.tar.gz jenkins-2.359-1.1.noarch.rpm redis-6.2.12.tar.gz
jenkins-2.277.4-1.1.noarch.rpm
jenkins2.249安装包,rpm安装方式,
suse15 安装jenkins-2.303-1.2.noarch.rpm,安装指令 sudo rpm -ivh jenkins-2.303-1.2.noarch.rpm