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

Update to 2.150.2

This commit is contained in:
Maniack Crudelis 2019-01-21 19:29:42 +01:00
parent 19843a9b1d
commit c10075940a
5 changed files with 13 additions and 6 deletions

View file

@ -13,7 +13,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview
The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
**Shipped version:** 2.121.1
**Shipped version:** 2.150.2
## Screenshots

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/#/inst
## Résumé
Premier serveur d'automatisation open source, Jenkins fournit des centaines de plugins pour supporter la construction, le déploiement et l'automatisation de n'importe quel projet.
**Version embarquée:** 2.121.1
**Version embarquée:** 2.150.2
## Captures d'écran

View file

@ -1,4 +1,4 @@
FILE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.121.1_all.deb
FILE_SUM=4660f72dcc4ad697632c53c4d8985d6d
FILE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.150.2_all.deb
FILE_SUM=d00ff7066d51895bbd17d1b3a2efbf00
FILE_SUM_PRG=md5sum
FILENAME=jenkins.deb

View file

@ -6,7 +6,7 @@
"en": "Extendable continuous integration server",
"fr": "Serveur d'intégration continue extensible"
},
"version": "2.121.1~ynh3",
"version": "2.150.2~ynh1",
"url": "https://jenkins.io/index.html",
"license": "MIT",
"maintainer": {

View file

@ -153,7 +153,12 @@ timeout=3600
# Add the domain to /etc/hosts, to prevent any dns delay
echo "127.0.0.1 $domain #jenkins" | tee -a /etc/hosts
jenkins_cli="ynh_exec_warn_less java -jar /var/lib/jenkins/jenkins-cli.jar -remoting -s http://$domain$path_url"
# Wait for Jenkins to be fully started
ynh_systemd_action --action=restart --line_match="Jenkins is fully up and running" --log_path="/var/log/$app/$app.log" --timeout="$timeout"
# Enable Jenkins CLI Protocol/2 for jenkins-cli
# That the only protocol that allow connection without an authenticated user...
ynh_replace_string "<slaveAgentPort>0</slaveAgentPort>" "&\n<enabledAgentProtocols><string>CLI2-connect</string></enabledAgentProtocols>" /var/lib/jenkins/config.xml
# Wait for Jenkins to be fully started
ynh_systemd_action --action=restart --line_match="Jenkins is fully up and running" --log_path="/var/log/$app/$app.log" --timeout="$timeout"
@ -171,6 +176,8 @@ do
fi
done
jenkins_cli="ynh_exec_warn_less java -jar /var/lib/jenkins/jenkins-cli.jar -remoting -s http://$domain$path_url"
# Install plugins for http authentication and ldap.
$jenkins_cli install-plugin reverse-proxy-auth-plugin