From f21851e7e69d44f2ac2a9a902053689dc472ff80 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Tue, 23 Jan 2018 12:32:30 +0100 Subject: [PATCH] do nit run any checks if no_label is set --- jenkins/start-slave.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkins/start-slave.sh b/jenkins/start-slave.sh index cd68110d91f4..ca20a70a6c7d 100755 --- a/jenkins/start-slave.sh +++ b/jenkins/start-slave.sh @@ -21,7 +21,8 @@ if [ "${CLEANUP_WORKSPACE}" = "cleanup" ] ; then ssh -n $SSH_OPTS $TARGET rm -rf ssh -n $SSH_OPTS $TARGET mkdir -p $WORKSPACE/tmp $WORKSPACE/workspace ssh -n $SSH_OPTS $TARGET rm -f $WORKSPACE/cmsos $WORKSPACE/slave.jar JENKINS_CLI_OPTS="-jar ${HOME}/jenkins-cli.jar -i ${HOME}/.ssh/id_dsa -s http://localhost:8080/$(cat ${HOME}/jenkins_prefix) -remoting" -case ${SLAVE_TYPE} in +if [ $(cat ${HOME}/nodes/${JENKINS_SLAVE_NAME}/config.xml | grep '