Raphael
ee556d859e
All checks were successful
Neutral/pipeline/head This commit looks good
revert Version 1.0.0 - Basic Web Application
19 lines
519 B
Groovy
19 lines
519 B
Groovy
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"
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
} |