From fdc39addaea7fc5e8646abd23ee22582af748c03 Mon Sep 17 00:00:00 2001 From: Raphix Date: Sat, 18 Mar 2023 22:54:36 +0100 Subject: [PATCH] Jenkins Test Build #5 --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cd10ab2..33a92da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,22 +4,22 @@ pipeline { 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 + echo "[Neutral-Deploy] - Installation Stage". + String result = "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 + echo "[Neutral-Deploy] - Test Stage" + String result = "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 + echo "[Neutral-Deploy] - Deploy Stage" + String result = "ssh -i /home/raphix/sshkey/alpha raphix@alpha.raphix.fr 'pwd'".execute().text println result.toUpperCase() } }