1
0
Fork 0
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:
yalh76 2021-02-27 20:06:35 +01:00
parent 9be865fe27
commit 0f9f1a76d0

View file

@ -161,11 +161,12 @@ ynh_script_progression --message="Disabling maintenance mode..." --weight=6
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