From 2a153b217d9b3902f475b1dd597437d51805d8a4 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 19 Nov 2012 15:55:05 -0500 Subject: [PATCH] xmllint prints to stdout, fix script to handle that xmllint actually prints to stdout, so we need to catch and redirect output to make this work. Updated to put the content in target so the ftp job can pick it up cleanly. Change-Id: Idef61db6a5ada0d0716ee5ac8201dfc94bda7b61 Reviewed-on: https://review.openstack.org/16462 Reviewed-by: James E. Blair Approved: Clark Boylan Reviewed-by: Clark Boylan Tested-by: Jenkins --- modules/jenkins/files/slave_scripts/run-xmllint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/jenkins/files/slave_scripts/run-xmllint.sh b/modules/jenkins/files/slave_scripts/run-xmllint.sh index 7cce7a9780..4edf7d61bd 100755 --- a/modules/jenkins/files/slave_scripts/run-xmllint.sh +++ b/modules/jenkins/files/slave_scripts/run-xmllint.sh @@ -1,4 +1,4 @@ #!/bin/bash -xe mkdir -p target/ -/usr/bin/xmllint -noent $1 'basename $1' +/usr/bin/xmllint -noent $1 > target/`basename $1`