David Caro has uploaded a new change for review.

Change subject: Added ovirt-reports
......................................................................

Added ovirt-reports

Change-Id: I290af7cb1424903722ffb421d0b5677f5cf3641b
Signed-off-by: David Caro <[email protected]>
---
M jobs/confs/shell-scripts/build_local_srcrpm.sh
A jobs/confs/yaml/jobs/ovirt-reports/ovirt-reports_create-rpms.yaml
A jobs/confs/yaml/scms/ovirt-reports.yaml
3 files changed, 54 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/31/30531/1

diff --git a/jobs/confs/shell-scripts/build_local_srcrpm.sh 
b/jobs/confs/shell-scripts/build_local_srcrpm.sh
index 5f3ce73..4ca30c3 100644
--- a/jobs/confs/shell-scripts/build_local_srcrpm.sh
+++ b/jobs/confs/shell-scripts/build_local_srcrpm.sh
@@ -35,8 +35,12 @@
 # make sure it's properly clean
 git clean -dxf
 # build tarballs
-./autogen.sh --system "${{extra_autogen_options[@]}}"
-./configure "${{extra_configure_options[@]}}"
+if [[ -x autogen.sh ]]; then
+    ./autogen.sh --system "${{extra_autogen_options[@]}}"
+fi
+if [[ -x configure ]]; then
+    ./configure "${{extra_configure_options[@]}}"
+fi
 make dist
 mv *.tar.gz "$WORKSPACE"/exported-artifacts/
 popd
diff --git a/jobs/confs/yaml/jobs/ovirt-reports/ovirt-reports_create-rpms.yaml 
b/jobs/confs/yaml/jobs/ovirt-reports/ovirt-reports_create-rpms.yaml
new file mode 100644
index 0000000..4050213
--- /dev/null
+++ b/jobs/confs/yaml/jobs/ovirt-reports/ovirt-reports_create-rpms.yaml
@@ -0,0 +1,32 @@
+- project:
+    name: ovirt-reports_create-rpms
+    project:
+      - ovirt-reports
+    trigger:
+      - merged
+    version:
+      - 3.4:
+          branch: ovirt-engine-reports-3.4
+          extra-repos: |
+            
ovirt-3.4-snapshot,http://resources.ovirt.org/pub/ovirt-3.4-snapshot/rpm/$distro
+            
ovirt-3.4-snapshot-static,http://resources.ovirt.org/pub/ovirt-3.4-snapshot-static/rpm/$distro
+      - 3.5:
+          branch: ovirt-engine-reports-3.5
+          extra-repos: |
+            
ovirt-3.5-snapshot,http://resources.ovirt.org/pub/ovirt-3.5-snapshot/rpm/$distro
+            
ovirt-3.5-snapshot-static,http://resources.ovirt.org/pub/ovirt-3.5-snapshot-static/rpm/$distro
+      - master:
+          extra-repos: |
+            
ovirt-master-snapshot,http://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/$distro
+            
ovirt-master-snapshot-static,http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/$distro
+          branch: master
+    mock-build-type:
+      - onlyrpm
+    distro:
+      - fc19
+      - fc20
+      - el6
+    arch:
+      - x86_64
+    jobs:
+      - '{project}_{version}_create-rpms-{distro}-{arch}_{trigger}'
diff --git a/jobs/confs/yaml/scms/ovirt-reports.yaml 
b/jobs/confs/yaml/scms/ovirt-reports.yaml
new file mode 100644
index 0000000..408f00e
--- /dev/null
+++ b/jobs/confs/yaml/scms/ovirt-reports.yaml
@@ -0,0 +1,16 @@
+- scm:
+    name: ovirt-reports-gerrit
+    scm:
+      - git:
+          url: git://gerrit.ovirt.org/ovirt-reports.git
+          branches:
+            - $GERRIT_BRANCH
+          basedir: ovirt-reports
+          scm-name: ovirt-reports
+          name: ''
+          refspec: $GERRIT_REFSPEC
+          choosing-strategy: gerrit
+          use-author: true
+          skip-tag: true
+          prune: true
+          wipe-workspace: false


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I290af7cb1424903722ffb421d0b5677f5cf3641b
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to