neutral-old/Jenkinsfile
Raphix 6b8a1cb6b5
All checks were successful
Neutral/pipeline/head This commit looks good
Correct Fixes from files component + Jenkins First Ver
2023-03-19 15:48:14 +01:00

22 lines
671 B
Groovy

pipeline {
agent any
stages {
stage('[Neutral] - Test') {
steps {
echo "[Neutral-Deploy] - Test Stage"
// sh "git clone git clone https://git.raphix.fr/infrastructure/neutral.git neutral"
}
}
stage('[Neutral] - Deploy') {
steps {
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"
}
}
}
}