27
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOSでJenkinsを最新版にアップデートする手順

Last updated at Posted at 2014-09-13

1. 概要

CentOSにインストールしたJenkinsをコマンドラインから最新版にアップデートする手順を示す。

2. 動作環境

  • CentOS 6.5
  • Jenkins 1.579

3. 手順

考え方としては、/usr/lib/jenkins/jenkins.warに最新版のwarファイルを配置して再起動するだけでよい。

$ wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
$ sudo service jenkins stop
$ sudo rm /usr/lib/jenkins/jenkins.war
$ sudo mv jenkins.war /usr/lib/jenkins/jenkins.war
$ sudo service jenkins start

4. 備考

もし最新版で不具合が出た場合、以下より過去のバージョンを取得できる。

参考記事

27
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
27
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?