From b4c3c503e9c11de04d36031e0ab46c5709eee807 Mon Sep 17 00:00:00 2001 From: Raphix Date: Sat, 18 Mar 2023 22:56:33 +0100 Subject: [PATCH] Jenkins Test Build #6 --- Jenkinsfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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'" } } }