gpt4 book ai didi

Jenkins 从滚动发布转向稳定 (LTS) 发布

转载 作者:行者123 更新时间:2023-12-03 14:01:34 25 4
gpt4 key购买 nike

我正在使用 Jenkins 滚动发布,我试图转移到 Jenkins 的 LTS 版本,但我没有找到从滚动发布转移到 LTS 版本的直接方法。

我的旧 Jenkins 中有很多配置,所以无法安装新的 Jenkins。

有什么办法可以从滚动发布到 LTS 版本?

最佳答案

来自 https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line :

  • 备份您的 Jenkins 安装(例如整个 Jenkins 目录)
  • 下载所需的 jenkins.war 版本,在这种情况下是 LTS 一个
  • 关闭 Jenkins
  • 将新的 jenkins.war 复制到 Jenkins 目录中的旧文件上
  • 再次启动 Jenkins
  • 按照上面 wiki 页面的引用:

    If you had a Latest&Greatest release running before and now have switched to LTS, you should open Manage Jenkins->Manage Plugins->Advanced and press "Check now". This way you ensure to get the proper update notifications for LTS and LTS-compatible plugins instead of Latest&Greatest. After you do this you may need to remove the contents of ${JENKINS_HOME}/updates to ensure that Jenkins shows the correct updates for the LTS stream.

  • 关于Jenkins 从滚动发布转向稳定 (LTS) 发布,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28870849/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com