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 '