[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] of SSH_ORIGINAL_COMMAND, only the first word is the job name

Mattia Rizzolo gitlab at salsa.debian.org
Mon May 20 20:56:06 BST 2019



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
95489f47 by Mattia Rizzolo at 2019-05-20T19:55:39Z
of SSH_ORIGINAL_COMMAND, only the first word is the job name

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/common-functions.sh


Changes:

=====================================
bin/common-functions.sh
=====================================
@@ -61,7 +61,7 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
 	if [ -n "$JOB_NAME" ] ; then
 		WHOAREWE=$JOB_NAME
 	else
-		WHOAREWE=${SSH_ORIGINAL_COMMAND}
+		WHOAREWE=${SSH_ORIGINAL_COMMAND/%\ */}
 	fi
 	# abort certain jobs if we know they will fail due to certain bugsā€¦
 	case $WHOAREWE in



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/95489f47df9d2df057f428997e7fc2f14c41f155

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/95489f47df9d2df057f428997e7fc2f14c41f155
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190520/a50b71d1/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list