Jenkins Test Build #5
Some checks failed
Neutral/pipeline/head There was a failure building this commit

This commit is contained in:
CICD - Pipeline 2023-03-18 22:54:36 +01:00
parent 2b63534d4d
commit fdc39addae

12
Jenkinsfile vendored
View File

@ -4,22 +4,22 @@ pipeline {
stages { stages {
stage('Install Neutral') { stage('Install Neutral') {
steps { steps {
String result = echo "[Neutral-Deploy] - Installation Stage". echo "[Neutral-Deploy] - Installation Stage".
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
println result.toUpperCase() println result.toUpperCase()
} }
} }
stage('Test Neutral') { stage('Test Neutral') {
steps { steps {
String result = echo "[Neutral-Deploy] - Test Stage" echo "[Neutral-Deploy] - Test Stage"
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
println result.toUpperCase() println result.toUpperCase()
} }
} }
stage('Deploy Neutral') { stage('Deploy Neutral') {
steps { steps {
String result = echo "[Neutral-Deploy] - Deploy Stage" echo "[Neutral-Deploy] - Deploy Stage"
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
println result.toUpperCase() println result.toUpperCase()
} }
} }