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