mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
Fixing upgrade
This commit is contained in:
parent
9be865fe27
commit
0f9f1a76d0
1 changed files with 4 additions and 3 deletions
|
@ -161,11 +161,12 @@ ynh_script_progression --message="Disabling maintenance mode..." --weight=6
|
||||||
ynh_maintenance_mode_OFF
|
ynh_maintenance_mode_OFF
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE JENKINS-CLI.PHAR
|
# UPGRADE JENKINS-CLI.JAR
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading jenkins-cli.phar..."
|
ynh_script_progression --message="Upgrading jenkins-cli.jar..."
|
||||||
|
|
||||||
wget -nv --no-check-certificate https://$domain${path_url%/}/jnlpJars/jenkins-cli.jar -O /var/lib/jenkins/jenkins-cli.jar 2>&1
|
wget -nv --no-check-certificate https://$domain${path_url%/}/jnlpJars/jenkins-cli.jar -O /var/lib/jenkins/jenkins-cli.jar.temp 2>&1
|
||||||
|
cp -f /var/lib/jenkins/jenkins-cli.jar.temp /var/lib/jenkins/jenkins-cli.jar
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE PLUGINS
|
# UPGRADE PLUGINS
|
||||||
|
|
Loading…
Reference in a new issue