mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
commit
73caa44754
10 changed files with 91 additions and 101 deletions
51
README.md
51
README.md
|
@ -1,3 +1,8 @@
|
||||||
|
<!--
|
||||||
|
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||||
|
It shall NOT be edited by hand.
|
||||||
|
-->
|
||||||
|
|
||||||
# Jenkins for YunoHost
|
# Jenkins for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/jenkins)  
|
[](https://dash.yunohost.org/appci/app/jenkins)  
|
||||||
|
@ -9,45 +14,29 @@
|
||||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
|
|
||||||
|
|
||||||
**Shipped version:** 2.277.4
|
Extendable continuous integration server
|
||||||
|
|
||||||
|
**Shipped version:** 2.289.1~ynh1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Demo
|
## Disclaimers / important information
|
||||||
|
|
||||||
No demo available.
|
* Other infos that people should be aware of, such as:
|
||||||
|
* Use the admin panel of your Jenkins to configure this app.
|
||||||
|
|
||||||
## Configuration
|
## Documentation and resources
|
||||||
|
|
||||||
Use the admin panel of your Jenkins to configure this app.
|
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
* Official documentation: https://jenkins.io/doc/
|
|
||||||
|
|
||||||
## YunoHost specific features
|
|
||||||
|
|
||||||
#### Multi-user support
|
|
||||||
|
|
||||||
Supported, with LDAP and SSO.
|
|
||||||
|
|
||||||
#### Supported architectures
|
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/jenkins/)
|
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/jenkins/)
|
|
||||||
|
|
||||||
## Links
|
|
||||||
|
|
||||||
|
* Official app website: https://jenkins.io
|
||||||
|
* Official user documentation: https://www.jenkins.io/doc/book/
|
||||||
|
* Upstream app code repository: https://github.com/jenkinsci/jenkins
|
||||||
|
* YunoHost documentation for this app: https://yunohost.org/app_jenkins
|
||||||
* Report a bug: https://github.com/YunoHost-Apps/jenkins_ynh/issues
|
* Report a bug: https://github.com/YunoHost-Apps/jenkins_ynh/issues
|
||||||
* App website: https://jenkins.io
|
|
||||||
* Upstream app repository: https://github.com/jenkinsci/jenkins
|
|
||||||
* YunoHost website: https://yunohost.org/
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
||||||
|
@ -59,3 +48,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/jenkins_ynh/tree/test
|
||||||
or
|
or
|
||||||
sudo yunohost app upgrade jenkins -u https://github.com/YunoHost-Apps/jenkins_ynh/tree/testing --debug
|
sudo yunohost app upgrade jenkins -u https://github.com/YunoHost-Apps/jenkins_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**More info regarding app packaging:** https://yunohost.org/packaging_apps
|
52
README_fr.md
52
README_fr.md
|
@ -4,51 +4,35 @@
|
||||||
[](https://install-app.yunohost.org/?app=jenkins)
|
[](https://install-app.yunohost.org/?app=jenkins)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Read this readme in english.](./README.md)*
|
||||||
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
|
||||||
> *Ce package vous permet d'installer Jenkins rapidement et simplement sur un serveur YunoHost.
|
> *Ce package vous permet d'installer Jenkins rapidement et simplement sur un serveur YunoHost.
|
||||||
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
|
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||||
|
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
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 incluse :** 2.277.4
|
Serveur d'intégration continue extensible
|
||||||
|
|
||||||
|
**Version incluse :** 2.289.1~ynh1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Démo
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
Aucune démo pour cette application.
|
* Other infos that people should be aware of, such as:
|
||||||
|
* Use the admin panel of your Jenkins to configure this app.
|
||||||
|
|
||||||
## Configuration
|
## Documentations et ressources
|
||||||
|
|
||||||
Utiliser le panneau d'administration de Jenkins pour configurer cette application.
|
* Site officiel de l'app : https://jenkins.io
|
||||||
|
* Documentation officielle utilisateur : https://www.jenkins.io/doc/book/
|
||||||
## Documentation
|
* Dépôt de code officiel de l'app : https://github.com/jenkinsci/jenkins
|
||||||
|
* Documentation YunoHost pour cette app : https://yunohost.org/app_jenkins
|
||||||
* Documentation officielle : https://jenkins.io/doc/
|
* Signaler un bug : https://github.com/YunoHost-Apps/jenkins_ynh/issues
|
||||||
* Documentation YunoHost : Il n'y a pas d'autre documentation, n'hésitez pas à contribuer.
|
|
||||||
|
|
||||||
## Caractéristiques spécifiques YunoHost
|
|
||||||
|
|
||||||
#### Support multi-utilisateurs
|
|
||||||
|
|
||||||
Supportée, avec LDAP et SSO.
|
|
||||||
|
|
||||||
#### Architectures supportées
|
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/jenkins/)
|
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/jenkins/)
|
|
||||||
|
|
||||||
## Liens
|
|
||||||
|
|
||||||
* Signaler un bug : https://github.com/YunoHost-Apps/jenkins_ynh/issues
|
|
||||||
* Site de l'application : https://jenkins.io
|
|
||||||
* Dépôt de l'application principale : https://github.com/jenkinsci/jenkins
|
|
||||||
* Site web YunoHost : https://yunohost.org/
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
||||||
|
@ -60,3 +44,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/jenkins_ynh/tree/test
|
||||||
ou
|
ou
|
||||||
sudo yunohost app upgrade jenkins -u https://github.com/YunoHost-Apps/jenkins_ynh/tree/testing --debug
|
sudo yunohost app upgrade jenkins -u https://github.com/YunoHost-Apps/jenkins_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
|
@ -1,8 +1,8 @@
|
||||||
;; Test complet
|
;; Test complet
|
||||||
; Manifest
|
; Manifest
|
||||||
domain="domain.tld" (DOMAIN)
|
domain="domain.tld"
|
||||||
path="/path" (PATH)
|
path="/path"
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_sub_dir=1
|
setup_sub_dir=1
|
||||||
|
@ -21,6 +21,8 @@
|
||||||
upgrade=1 from_commit=e6cf48fdbcc7cac5c5147d4a7cc1ebfd9055bfef
|
upgrade=1 from_commit=e6cf48fdbcc7cac5c5147d4a7cc1ebfd9055bfef
|
||||||
# 2.277.3~ynh1
|
# 2.277.3~ynh1
|
||||||
upgrade=1 from_commit=3f0f52e24273e9da86ac2fa7000953b7734196a5
|
upgrade=1 from_commit=3f0f52e24273e9da86ac2fa7000953b7734196a5
|
||||||
|
# 2.277.4~ynh1
|
||||||
|
upgrade=1 from_commit=36fdba9bbd201832f5707083b878ae967052ad6a
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
port_already_use=1 (8080)
|
port_already_use=1 (8080)
|
||||||
|
@ -40,3 +42,5 @@ Notification=none
|
||||||
name=2.277.2~ynh1
|
name=2.277.2~ynh1
|
||||||
; commit=3f0f52e24273e9da86ac2fa7000953b7734196a5
|
; commit=3f0f52e24273e9da86ac2fa7000953b7734196a5
|
||||||
name=2.277.3~ynh1
|
name=2.277.3~ynh1
|
||||||
|
; commit=36fdba9bbd201832f5707083b878ae967052ad6a
|
||||||
|
name=2.277.4~ynh1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.277.4_all.deb
|
SOURCE_URL=https://pkg.jenkins.io/debian-stable/binary/jenkins_2.289.1_all.deb
|
||||||
SOURCE_SUM=0e36ddbcc684d1148725742c4f37fae83f37da28a2bcdaae285747ee8c384dfc
|
SOURCE_SUM=5651493ea8f9b761b4f35d952780ccc3e2ddfdf2b1cd1b1fc13291ca214232d7
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=deb
|
SOURCE_FORMAT=deb
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
0
doc/.gitkeep
Normal file
0
doc/.gitkeep
Normal file
3
doc/DISCLAIMER.md
Normal file
3
doc/DISCLAIMER.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
* Other infos that people should be aware of, such as:
|
||||||
|
* Use the admin panel of your Jenkins to configure this app.
|
||||||
|
|
0
doc/screenshots/.gitkeep
Normal file
0
doc/screenshots/.gitkeep
Normal file
BIN
doc/screenshots/screenshot1.png
Normal file
BIN
doc/screenshots/screenshot1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
|
@ -6,8 +6,14 @@
|
||||||
"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.277.4~ynh1",
|
"version": "2.289.1~ynh1",
|
||||||
"url": "https://jenkins.io/index.html",
|
"url": "https://jenkins.io/index.html",
|
||||||
|
"upstream": {
|
||||||
|
"license": "MIT",
|
||||||
|
"website": "https://jenkins.io",
|
||||||
|
"userdoc": "https://www.jenkins.io/doc/book/",
|
||||||
|
"code": "https://github.com/jenkinsci/jenkins"
|
||||||
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "",
|
"name": "",
|
||||||
|
|
|
@ -30,6 +30,33 @@ ynh_script_progression --message="Checking version..."
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Backing up the app before upgrading (may take a while)..."
|
||||||
|
|
||||||
|
# Backup the current version of the app
|
||||||
|
ynh_backup_before_upgrade
|
||||||
|
ynh_clean_setup () {
|
||||||
|
ynh_clean_check_starting
|
||||||
|
# Restore it if the upgrade fails
|
||||||
|
ynh_restore_upgradebackup
|
||||||
|
}
|
||||||
|
# Exit if an error occurs during the execution of the script
|
||||||
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
ynh_backup_if_checksum_is_different --file="/etc/default/jenkins"
|
||||||
|
ynh_backup_if_checksum_is_different --file="$final_path/config.xml"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# STANDARD UPGRADE STEPS
|
||||||
|
#=================================================
|
||||||
|
# STOP SYSTEMD SERVICE
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Stopping a systemd service..."
|
||||||
|
|
||||||
|
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped LSB" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -64,33 +91,6 @@ if ! ynh_permission_exists --permission="github-webhook"; then
|
||||||
ynh_permission_create --permission="github-webhook" --url "/github-webhook" --allowed="visitors" --show_tile="false" --protected="true"
|
ynh_permission_create --permission="github-webhook" --url "/github-webhook" --allowed="visitors" --show_tile="false" --protected="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Backing up the app before upgrading (may take a while)..."
|
|
||||||
|
|
||||||
# Backup the current version of the app
|
|
||||||
ynh_backup_before_upgrade
|
|
||||||
ynh_clean_setup () {
|
|
||||||
ynh_clean_check_starting
|
|
||||||
# Restore it if the upgrade fails
|
|
||||||
ynh_restore_upgradebackup
|
|
||||||
}
|
|
||||||
# Exit if an error occurs during the execution of the script
|
|
||||||
ynh_abort_if_errors
|
|
||||||
|
|
||||||
ynh_backup_if_checksum_is_different --file="/etc/default/jenkins"
|
|
||||||
ynh_backup_if_checksum_is_different --file="$final_path/config.xml"
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# STANDARD UPGRADE STEPS
|
|
||||||
#=================================================
|
|
||||||
# STOP SYSTEMD SERVICE
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Stopping a systemd service..."
|
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped LSB" --log_path="systemd"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue