Jenkins以root用户运行的方法
以centOS系统为例,记录下修改Jenkins以root用户运行的方法。 修改Jenkins配置文件 <span class="hljs-comment"># 打开配置文件 vim /etc/sysconfig/jenkins # 修改$JENKINS_USER,并去掉当前行注释 <span class="hljs-variable">$JENKINS_USER=<span class="hljs-string">"root" </span></span></span> 修改Jenkins相关文件夹用户权限 chown -R root:root /<span class="hljs-keyword">var/lib/jenkins chown...
linux下dotnet restore报SSL证书错误
linux下dotnet restore报SSL证书错误: + dotnet restore /usr/share/dotnet/sdk/2.1.802/NuGet.targets(123,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/var/lib/jenkins/workspace/api-deploy/api.src/Yoga.sln] /usr/share/dotnet/sdk/2.1.802/NuGet.targets(123,5): error : The SSL connection could not be established, see inner exception. [/var/lib/jenkins/workspace/api-deploy/api.src/Yoga.sln] /usr/share/dotnet/sdk/2.1.802/NuGet.tar...