pipeline { agent any stages { 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() } } 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() } } 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() } } } }