David Caro has uploaded a new change for review.

Change subject: Fixed config to adapt to the jjb fixes
......................................................................

Fixed config to adapt to the jjb fixes

Test command does not read the config anymore, so recursive has to be specified
explicitly each time when testing.

Change-Id: I02c56a1379b21654ad32eee16ddd5d829408d7b8
Signed-off-by: David Caro <dcaro...@redhat.com>
---
M jobs/confs/shell-scripts/jenkins_check_yaml.sh
1 file changed, 13 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/23/29223/1

diff --git a/jobs/confs/shell-scripts/jenkins_check_yaml.sh 
b/jobs/confs/shell-scripts/jenkins_check_yaml.sh
index 228bdec..4eda360 100644
--- a/jobs/confs/shell-scripts/jenkins_check_yaml.sh
+++ b/jobs/confs/shell-scripts/jenkins_check_yaml.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/bash -xe
 ## UPDATE JOBS FROM YAML
 new_xmls_dir="$WORKSPACE/new_xmls"
 old_xmls_dir="$WORKSPACE/old_xmls"
@@ -13,7 +13,12 @@
 ## Get new xmls
 echo "Generating new xmls"
 pushd "$confs_dir"
-jenkins-jobs --conf "$conf_file" $options test -o "$new_xmls_dir" "$yaml_dir"
+jenkins-jobs \
+    -l debug \
+    test \
+        --recursive \
+        -o "$new_xmls_dir" \
+        "$yaml_dir"
 echo "########################"
 ## Get old xmls
 echo "Generating previous xmls"
@@ -24,7 +29,12 @@
     echo "  No previous config"
 else
     pushd "$confs_dir"
-    jenkins-jobs --conf "$conf_file" $options test -o "$old_xmls_dir" 
"$yaml_dir"
+    jenkins-jobs \
+       -l debug \
+       test \
+           --recursive \
+           -o "$old_xmls_dir" \
+           "$yaml_dir"
     echo "########################"
     ## Get the diff
     git reset --hard $GERRIT_PATCHSET_REVISION


-- 
To view, visit http://gerrit.ovirt.org/29223
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I02c56a1379b21654ad32eee16ddd5d829408d7b8
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaro...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to