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:54:36 +00:00
echo "[Neutral-Deploy] - Installation Stage".
String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
2023-03-18 21:53:41 +00:00
println result.toUpperCase()
2023-03-18 21:47:09 +00:00
}
}
stage('Test Neutral') {
steps {
2023-03-18 21:54:36 +00:00
echo "[Neutral-Deploy] - Test Stage"
String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
2023-03-18 21:53:41 +00:00
println result.toUpperCase()
2023-03-18 17:20:17 +00:00
}
}
stage('Deploy Neutral') {
steps {
2023-03-18 21:54:36 +00:00
echo "[Neutral-Deploy] - Deploy Stage"
String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
2023-03-18 21:53:41 +00:00
println result.toUpperCase()
2023-03-18 17:20:17 +00:00
}
}
}
}