You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by dn...@apache.org on 2015/01/27 22:30:08 UTC

qpid-proton git commit: NO-JIRA: checkin jenkins build script for proton-c

Repository: qpid-proton
Updated Branches:
  refs/heads/master 9ee7bb190 -> 725e81057


NO-JIRA: checkin jenkins build script for proton-c


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/725e8105
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/725e8105
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/725e8105

Branch: refs/heads/master
Commit: 725e810576795eb3be997d90b1df283cb8f2c7a0
Parents: 9ee7bb1
Author: Dominic Evans <do...@uk.ibm.com>
Authored: Tue Jan 27 21:29:03 2015 +0000
Committer: Dominic Evans <do...@uk.ibm.com>
Committed: Tue Jan 27 21:29:54 2015 +0000

----------------------------------------------------------------------
 jenkins-proton-c-build.sh | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/725e8105/jenkins-proton-c-build.sh
----------------------------------------------------------------------
diff --git a/jenkins-proton-c-build.sh b/jenkins-proton-c-build.sh
new file mode 100755
index 0000000..27107fd
--- /dev/null
+++ b/jenkins-proton-c-build.sh
@@ -0,0 +1,38 @@
+#!/bin/bash -e
+#
+# This is the continuous delivery build script executed after a git
+# extract by the Jenkins build process located at the following URL:
+# https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-proton-c/
+#
+
+echo Arch: `arch` Uname: `uname -a` lsb_release: `lsb_release -a` User: `whoami`
+echo Java home: $JAVA_HOME
+
+echo =========================
+echo Listing installed packages
+dpkg -l | \
+  awk '/^ii  (cmake |ruby |python |php |.*jdk |swig[0-9]*)/{print $2, $3}'| \
+  sort
+echo =========================
+
+which python || exit 1
+which swig || exit 1
+
+set -x
+ls
+
+rm -rf build testresults >/dev/null 2>&1
+mkdir build testresults >/dev/null 2>&1
+cd build && cmake ..
+make all
+
+echo Running tests
+XMLOUTPUT=testresults/TEST-protonc.xml
+
+. build/config.sh
+./tests/python/proton-test --xml=${XMLOUTPUT}
+
+cd build
+ctest -V -R "^c-*"
+
+echo 'Build completed'


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org