Correct Fixes from files component + Jenkins First Ver
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:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -2,7 +2,7 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Test Neutral') {
|
||||
stage('[Neutral] - Test') {
|
||||
steps {
|
||||
echo "[Neutral-Deploy] - Test Stage"
|
||||
// sh "git clone git clone https://git.raphix.fr/infrastructure/neutral.git neutral"
|
||||
@ -10,12 +10,12 @@ pipeline {
|
||||
|
||||
}
|
||||
}
|
||||
stage('Deploy 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 -u 'gitlab-ci' /home/gitlab-ci/neutral_deploy.sh"
|
||||
sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/neutral_deploy.sh"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user