1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jenkins_ynh.git synced 2024-09-03 19:26:18 +02:00

Upgrade jenkins-cli.phar

This commit is contained in:
Maniack Crudelis 2018-06-29 23:41:02 +02:00
parent e98e687ce7
commit 1db6460970
2 changed files with 8 additions and 1 deletions

View file

@ -27,7 +27,8 @@ CHECK_SIZE () { # Vérifie avant chaque backup que l'espace est suffisant
#=================================================
IS_PACKAGE_CHECK () { # Détermine une exécution en conteneur (Non testé)
return $(uname -n | grep -c 'pchecker_lxc')
# return $(uname -n | grep -c 'pchecker_lxc')
return $(env | grep -c container=lxc)
}
#=================================================

View file

@ -113,3 +113,9 @@ ynh_system_reload nginx
# Wait for Jenkins fully started
ynh_check_starting "Jenkins is fully up and running" "/var/log/$app/$app.log" "300"
#=================================================
# UPGRADE JENKINS-CLI.PHAR
#=================================================
wget -nv --no-check-certificate https://$domain$path_url/jnlpJars/jenkins-cli.jar -O /var/lib/jenkins/jenkins-cli.jar