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:
parent
19843a9b1d
commit
c10075940a
5 changed files with 13 additions and 6 deletions
|
@ -13,7 +13,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
|
||||||
## Overview
|
## Overview
|
||||||
The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
|
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
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/#/inst
|
||||||
## Résumé
|
## 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.
|
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
|
## Captures d'écran
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FILE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.121.1_all.deb
|
FILE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.150.2_all.deb
|
||||||
FILE_SUM=4660f72dcc4ad697632c53c4d8985d6d
|
FILE_SUM=d00ff7066d51895bbd17d1b3a2efbf00
|
||||||
FILE_SUM_PRG=md5sum
|
FILE_SUM_PRG=md5sum
|
||||||
FILENAME=jenkins.deb
|
FILENAME=jenkins.deb
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Extendable continuous integration server",
|
"en": "Extendable continuous integration server",
|
||||||
"fr": "Serveur d'intégration continue extensible"
|
"fr": "Serveur d'intégration continue extensible"
|
||||||
},
|
},
|
||||||
"version": "2.121.1~ynh3",
|
"version": "2.150.2~ynh1",
|
||||||
"url": "https://jenkins.io/index.html",
|
"url": "https://jenkins.io/index.html",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -153,7 +153,12 @@ timeout=3600
|
||||||
# Add the domain to /etc/hosts, to prevent any dns delay
|
# Add the domain to /etc/hosts, to prevent any dns delay
|
||||||
echo "127.0.0.1 $domain #jenkins" | tee -a /etc/hosts
|
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
|
# 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"
|
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
|
fi
|
||||||
done
|
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.
|
# Install plugins for http authentication and ldap.
|
||||||
$jenkins_cli install-plugin reverse-proxy-auth-plugin
|
$jenkins_cli install-plugin reverse-proxy-auth-plugin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue