From f59967c69ee1e4bfa74fd85fcc61b7707372df53 Mon Sep 17 00:00:00 2001 From: dany Date: Fri, 16 Sep 2022 14:48:16 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bd96d26..5151006 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,6 +53,7 @@ pipeline{ export -p | tee env.source cat <<"EOF" >>env.source printenv + echo "current branch is $BRANCH_NAME" EOF ''' sshCommand remote: remote, command: '''#! /bin/bash @@ -64,12 +65,6 @@ EOF bash test.sh ''' sshScript remote: remote, script: "env.source" - sshCommand remote: remote, command: '''#! /bin/bash - for i in {1..5}; do - echo -n "Loop $i "; - date ; - sleep 1; - done ''' } }