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

Merge pull request #73 from YunoHost-Apps/upgrade

Upgrade to 2.346.1~ynh1
This commit is contained in:
yalh76 2022-06-24 12:47:17 +02:00 committed by GitHub
commit d9ee695016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 22 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Extendable continuous integration server Extendable continuous integration server
**Shipped version:** 2.332.3~ynh1 **Shipped version:** 2.346.1~ynh1
## Screenshots ## Screenshots

View file

@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Serveur d'intégration continue extensible Serveur d'intégration continue extensible
**Version incluse :** 2.332.3~ynh1 **Version incluse :** 2.346.1~ynh1
## Captures d'écran ## Captures d'écran

View file

@ -37,6 +37,8 @@
upgrade=1 from_commit=7e40418b50b5c25d80f3bc521f9627cdd22c4201 upgrade=1 from_commit=7e40418b50b5c25d80f3bc521f9627cdd22c4201
# 2.319.3~ynh1 # 2.319.3~ynh1
upgrade=1 from_commit=ceac884c4d82f8164ec7ce391d354d794948bb72 upgrade=1 from_commit=ceac884c4d82f8164ec7ce391d354d794948bb72
# 2.332.3~ynh1
upgrade=1 from_commit=5ff1883636f649c7e32d6b520fd54621f83097ba
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=0
change_url=1 change_url=1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.332.3_all.deb SOURCE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.346.1_all.deb
SOURCE_SUM=319fa6ab596f63b826a9ab6ba5a7230aff73d271acc6241ffb23788ffc123883 SOURCE_SUM=cc5b6caca616f7aa4755fadddd8eafefe8bd74be25b422eebd4a2a978c6bb015
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=deb SOURCE_FORMAT=deb
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -26,6 +26,6 @@ location __PATH__ {
proxy_busy_buffers_size 64k; proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k; proxy_temp_file_write_size 64k;
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }

View file

@ -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.332.3~ynh1", "version": "2.346.1~ynh1",
"url": "https://jenkins.io/index.html", "url": "https://jenkins.io/index.html",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",
@ -30,7 +30,7 @@
"nginx" "nginx"
], ],
"arguments": { "arguments": {
"install" : [ "install": [
{ {
"name": "domain", "name": "domain",
"type": "domain" "type": "domain"

View file

@ -46,13 +46,6 @@ test ! -d $final_path \
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..."
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
# RECREATE THE DEDICATED USER # RECREATE THE DEDICATED USER
#================================================= #=================================================
@ -71,6 +64,13 @@ ynh_script_progression --message="Reinstalling dependencies..."
# Define and install dependencies # Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX web server configuration..."
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
# INSTALL JENKINS # INSTALL JENKINS
#================================================= #=================================================

View file

@ -130,6 +130,13 @@ then
ynh_systemd_action --service_name=$app --action="restart" --line_match="Started Jenkins Continuous Integration Server" --log_path="systemd" ynh_systemd_action --service_name=$app --action="restart" --line_match="Started Jenkins Continuous Integration Server" --log_path="systemd"
fi fi
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression --message="Upgrading dependencies..."
ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================
@ -143,13 +150,6 @@ then
ynh_add_nginx_config ynh_add_nginx_config
fi fi
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression --message="Upgrading dependencies..."
ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================