Created
July 14, 2021 02:15
-
-
Save rosuH/a0737f9c874326634ccc45e1a3299cec to your computer and use it in GitHub Desktop.
update_jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd "/usr/lib/jenkins/" | |
sudo service jenkins stop | |
sudo mv jenkins.war jenkins.war.old | |
sudo wget https://updates.jenkins-ci.org/latest/jenkins.war | |
sudo service jenkins start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment