neutral-old/Jenkinsfile
Raphix a01851211f
Some checks failed
Neutral/pipeline/head There was a failure building this commit
Fix Install Jenkins
2023-03-19 14:23:55 +01:00

22 lines
636 B
Groovy

pipeline {
agent any
stages {
stage('Test Neutral') {
steps {
echo "[Neutral-Deploy] - Test Stage"
// sh "git clone git clone https://git.raphix.fr/infrastructure/neutral.git neutral"
}
}
stage('Deploy Neutral') {
steps {
echo "[Neutral-Deploy] - Deploy Stage"
sh "ssh raphix@raphix.fr sudo apt update"
sh "ssh raphix@raphix.fr sudo apt upgrade"
sh "ssh raphix@raphix.fr /home/gitlab-ci/neutral_deploy.sh"
}
}
}
}