diff --git a/conf/config_unsecured.xml b/conf/config_unsecured.xml index 1fc8b78..6269dea 100644 --- a/conf/config_unsecured.xml +++ b/conf/config_unsecured.xml @@ -40,4 +40,4 @@ false - \ No newline at end of file + diff --git a/scripts/_common.sh b/scripts/_common.sh index 0fdcedc..10fc7d3 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,6 +7,8 @@ # dependencies used by the app pkg_dependencies="openjdk-11-jdk daemon net-tools" +JENKINS_VERSION="2.332.1" + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/backup b/scripts/backup index 1ee1563..697df1a 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,4 +1,4 @@ -ss#!/bin/bash +#!/bin/bash #================================================= # GENERIC START @@ -65,7 +65,7 @@ ynh_backup --src_path="/etc/default/$app" # START SYSTEMD SERVICE #================================================= -ynh_systemd_action --service_name=$app --action="restart" --line_match="Started" --log_path="systemd" +ynh_systemd_action --service_name=$app --action="restart" --line_match="Started Jenkins Continuous Integration Server" --log_path="systemd" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index 6e3357a..1e0498e 100644 --- a/scripts/install +++ b/scripts/install @@ -134,8 +134,16 @@ ynh_script_progression --message="Setuping application..." ynh_script_progression --message="Configuring SSOwat..." # Making the app public for curl ynh_permission_update --permission="main" --add="visitors" -# Reload SSOwat config -yunohost app ssowatconf + +cat >> "$final_path/jenkins.install.InstallUtil.lastExecVersion" <> "$final_path/jenkins.install.UpgradeWizard.state" <