Fix Install Jenkins #4
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
7d2eed0e4b
commit
e8c5380bc9
@ -1,6 +1,7 @@
|
|||||||
echo "[Neutral-Deploy] - Stage - Déploiement - START "
|
echo "[Neutral-Deploy] - Stage - Déploiement - START "
|
||||||
echo "[Neutral-Deploy] - Arrêt de Neutral : Processing"
|
echo "[Neutral-Deploy] - Arrêt de Neutral : Processing"
|
||||||
cd /home/gitlab-ci
|
cd /home/gitlab-ci
|
||||||
|
pwd
|
||||||
pm2 stop Neutral
|
pm2 stop Neutral
|
||||||
pm2 delete Neutral
|
pm2 delete Neutral
|
||||||
echo "[Neutral-Deploy] - Arrêt de Neutral : Success"
|
echo "[Neutral-Deploy] - Arrêt de Neutral : Success"
|
||||||
@ -8,14 +9,17 @@ echo "[Neutral-Deploy] - Supression de Neutral : Processing"
|
|||||||
rm -rf ./neutral
|
rm -rf ./neutral
|
||||||
echo "[Neutral-Deploy] - Supression de Neutral : Success"
|
echo "[Neutral-Deploy] - Supression de Neutral : Success"
|
||||||
echo "[Neutral-Deploy] - Installation de Neutral : Processing"
|
echo "[Neutral-Deploy] - Installation de Neutral : Processing"
|
||||||
|
git config --global user.name "raphix"
|
||||||
git clone https://git.raphix.fr/infrastructure/neutral.git
|
git clone https://git.raphix.fr/infrastructure/neutral.git
|
||||||
echo "[Neutral-Deploy] - Installation de Neutral : Success"
|
echo "[Neutral-Deploy] - Installation de Neutral : Success"
|
||||||
echo "[Neutral-Deploy] - Installation des dépendances : Processing"
|
echo "[Neutral-Deploy] - Installation des dépendances : Processing"
|
||||||
cd ./neutral
|
cd /home/gitlab-ci/neutral
|
||||||
|
pwd
|
||||||
npm install
|
npm install
|
||||||
echo "[Neutral-Deploy] - Installation des dépendances : Success"
|
echo "[Neutral-Deploy] - Installation des dépendances : Success"
|
||||||
echo "[Neutral-Deploy] - Démarrage de Neutral : Processing"
|
echo "[Neutral-Deploy] - Démarrage de Neutral : Processing"
|
||||||
cd ..
|
cd /home/gitlab-ci
|
||||||
|
pwd
|
||||||
pm2 start neutral.config.js
|
pm2 start neutral.config.js
|
||||||
echo "[Neutral-Deploy] - Démarrage de Neutral : Success"
|
echo "[Neutral-Deploy] - Démarrage de Neutral : Success"
|
||||||
echo "[Neutral-Deploy] - Stage - Déploiement - END"
|
echo "[Neutral-Deploy] - Stage - Déploiement - END"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user