system-config/modules/jenkins/files/slave_scripts/run-xmllint.sh
Sean Dague 2a153b217d 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 <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-11-19 21:44:34 +00:00

5 lines
84 B
Bash
Executable File

#!/bin/bash -xe
mkdir -p target/
/usr/bin/xmllint -noent $1 > target/`basename $1`