[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fixup d884cb990: reproducible Debian: improve node check to also test whether the node is in an broken state (read-only fs)
Holger Levsen
holger at layer-acht.org
Mon Aug 22 10:17:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 92cb53ce3be590c63285135ebac3d195372c75d4
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Aug 22 12:17:38 2016 +0200
fixup d884cb990: reproducible Debian: improve node check to also test whether the node is in an broken state (read-only fs)
---
bin/jenkins_node_wrapper.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 1086508..cd7b336 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -60,6 +60,8 @@ allowed_cmds=()
if [[ "$*" = "/bin/true" ]] ; then
exec /bin/true ; croak "Exec failed";
+elif [[ "$*" = "rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX)" ]] ; then
+ exec rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX) ; croak "Exec failed";
elif [[ "$*" = "cleanup_nodes /srv/jenkins/bin/reproducible_slay.sh" ]] ; then
exec /srv/jenkins/bin/reproducible_slay.sh ; croak "Exec failed";
elif [[ "$*" =~ ^/bin/nc\ localhost\ 4949 ]] ; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list