neutral-old/Jenkinsfile

27 lines
923 B
Plaintext
Raw Normal View History

2023-03-18 17:20:17 +00:00
pipeline {
agent any
stages {
2023-03-18 21:47:09 +00:00
stage('Install Neutral') {
2023-03-18 17:20:17 +00:00
steps {
2023-03-18 21:53:41 +00:00
String result = echo "[Neutral-Deploy] - Installation Stage".
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
println result.toUpperCase()
2023-03-18 21:47:09 +00:00
}
}
stage('Test Neutral') {
steps {
2023-03-18 21:53:41 +00:00
String result = echo "[Neutral-Deploy] - Test Stage"
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
println result.toUpperCase()
2023-03-18 17:20:17 +00:00
}
}
stage('Deploy Neutral') {
steps {
2023-03-18 21:53:41 +00:00
String result = echo "[Neutral-Deploy] - Deploy Stage"
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
println result.toUpperCase()
2023-03-18 17:20:17 +00:00
}
}
}
}