Version 0.1.3 - Ajout de la PipeLine de déploiement automatique
All checks were successful
Neutral/pipeline/head This commit looks good
All checks were successful
Neutral/pipeline/head This commit looks good
This commit is contained in:
parent
132dae4809
commit
a3e0f25968
19
Jenkinsfile
vendored
Normal file
19
Jenkinsfile
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('[Neutral] - Déploiement') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
|
||||||
|
echo "[Neutral-Deploy] - Deploy Stage"
|
||||||
|
sh "ssh raphix@raphix.fr sudo apt update -y"
|
||||||
|
sh "ssh raphix@raphix.fr sudo apt upgrade -y"
|
||||||
|
sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/neutral_deploy.sh"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "neutral",
|
"name": "neutral",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"description": "Panel d'administration de Raphix",
|
"description": "Panel d'administration de Raphix",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user