Fix Install Jenkins
Some checks failed
Neutral/pipeline/head There was a failure building this commit
Some checks failed
Neutral/pipeline/head There was a failure building this commit
This commit is contained in:
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@@ -2,24 +2,20 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Install Neutral') {
|
||||
steps {
|
||||
echo "[Neutral-Deploy] - Installation Stage"
|
||||
sh "ssh raphix@raphix.fr 'pwd'"
|
||||
|
||||
}
|
||||
}
|
||||
stage('Test Neutral') {
|
||||
steps {
|
||||
echo "[Neutral-Deploy] - Test Stage"
|
||||
sh "ssh raphix@raphix.fr 'pwd'"
|
||||
// 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 'echo Test'"
|
||||
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user