Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jenkins未读取启动配置,https和Jenkins存在问题_Jenkins_Https - Fatal编程技术网

Jenkins未读取启动配置,https和Jenkins存在问题

Jenkins未读取启动配置,https和Jenkins存在问题,jenkins,https,Jenkins,Https,我正在尝试让Jenkins使用https,我已经创建了我的JKS文件,并且修改了/etc/default/Jenkins文件。我设置了http\u port=-1,并将文件中的最后一行更改为类似于:- JENKINS_ARGS=” — httpPort=-1 — httpsPort=8443 — httpsKeyStore=/path/to/jenkins.jks — httpsKeyStorePassword=chosen_pass — httpsListenAddress=0.0.0.0&q

我正在尝试让Jenkins使用https,我已经创建了我的JKS文件,并且修改了
/etc/default/Jenkins
文件。我设置了
http\u port=-1
,并将文件中的最后一行更改为类似于:-

JENKINS_ARGS=” — httpPort=-1 — httpsPort=8443 — httpsKeyStore=/path/to/jenkins.jks — httpsKeyStorePassword=chosen_pass — httpsListenAddress=0.0.0.0"
使用相关路径替换jenkinks的路径,并使用正确的密码替换密码

当我重新启动jenkins时,它默认为
http
上的
端口8080
。它似乎忽略了对该文件的修改


有人能帮忙吗?

我想你实际上在
--
和参数之间没有空格。不,我在破折号和参数之间没有空格。你知道它为什么不读取文件吗?