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

This commit is contained in:
CICD - Pipeline 2023-03-18 22:53:41 +01:00
parent 28e6a05863
commit 2b63534d4d

15
Jenkinsfile vendored
View File

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