27 lines
923 B
Groovy
27 lines
923 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Install Neutral') {
|
|
steps {
|
|
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 {
|
|
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 {
|
|
String result = echo "[Neutral-Deploy] - Deploy Stage"
|
|
"ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text
|
|
println result.toUpperCase()
|
|
}
|
|
}
|
|
}
|
|
} |