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

Apply example_ynh

This commit is contained in:
yalh76 2021-04-10 00:35:11 +02:00
parent dd82d79efa
commit 753f658fc7
3 changed files with 2 additions and 18 deletions

View file

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

View file

@ -232,14 +232,6 @@ ynh_store_file_checksum --file="$final_path/config.xml"
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app:$app $final_path
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================

View file

@ -66,7 +66,7 @@ if ! ynh_permission_exists --permission="github-webhook"; then
fi
#=================================================
# BACKUP BEFORE CHANGE URL THEN ACTIVE TRAP
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================
ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=40
@ -202,14 +202,6 @@ ynh_store_file_checksum --file="$final_path/config.xml"
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chown -R $app:$app $final_path
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================