diff --git a/Jenkinsfile b/Jenkinsfile index 33a92da..94e3f88 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,22 +5,21 @@ pipeline { stage('Install Neutral') { steps { echo "[Neutral-Deploy] - Installation Stage". - String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text - println result.toUpperCase() + sh "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'" + } } stage('Test Neutral') { steps { echo "[Neutral-Deploy] - Test Stage" - String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text - println result.toUpperCase() + sh "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'" + } - } + }, stage('Deploy Neutral') { steps { echo "[Neutral-Deploy] - Deploy Stage" - String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text - println result.toUpperCase() + sh "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'" } } }