summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-02-09 16:12:07 -0500
committerTim Rozet <trozet@redhat.com>2017-02-09 16:12:07 -0500
commitf9be5ecb2006e04ffcb147f41fab86c3768e3922 (patch)
tree8f387ebd62baf5f73020f1aa0142dac3f6faa3ae
parentc5670f63c07f82d572dee6e2fcc35af268e9565a (diff)
Apex: fixes csit snap upload
Change-Id: Ideb6302df40cae35637d9d764a7811532cf46d7b Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xjjb/apex/apex-upload-artifact.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/apex-upload-artifact.sh b/jjb/apex/apex-upload-artifact.sh
index 89fd5ed36..ef8ad5329 100755
--- a/jjb/apex/apex-upload-artifact.sh
+++ b/jjb/apex/apex-upload-artifact.sh
@@ -81,7 +81,7 @@ uploadsnap () {
echo "Upload complete for Snapshot"
}
-if grep csit $WORKSPACE; then
+if echo $WORKSPACE | grep csit > /dev/null; then
uploadsnap
elif gpg2 --list-keys | grep "opnfv-helpdesk@rt.linuxfoundation.org"; then
echo "Signing Key avaliable"