summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-12-21 12:32:28 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-12-21 12:32:28 +0000
commitb19f3c02fac1fc07d04d00eaa8f3f89f816ae6c5 (patch)
tree66d7f032a06ce0f2552ed3515b7cc36c37ec9324 /jenkins.sh
parent6d1c3716634ce7c5a5fc9b7ccfc493562fa1745f (diff)
parent65f3074763844a8e5defcda61902d774d7912f49 (diff)
Merge branch 'master' into merge
Conflicts: config/boards/dragon-01.exp config/boards/tcwg-common.exp config/boards/tcwgbuild01/tcwgblack.exp config/boards/tcwgbuild01/tcwgbuild.exp config/boards/tcwgbuild02/tcwgblack.exp config/boards/tcwgbuild02/tcwgbuild.exp config/boards/tcwgbuild03/tcwgblack.exp config/boards/tcwgbuild03/tcwgbuild.exp config/boards/tcwgbuild04/tcwgblack.exp config/boards/tcwgbuild04/tcwgbuild.exp config/boards/tcwgbuild05/tcwgblack.exp config/boards/tcwgbuild05/tcwgbuild.exp config/boards/tcwgbuild06/tcwgbuild.exp config/boards/tcwgd01.exp config/boards/tcwgrob/tcwgapm.exp config/boards/toolchain64/tcwgbuild.exp config/eglibc.conf config/gcc.conf config/linaro.exp configure configure.ac jenkins.sh lib/common.sh lib/make.sh scripts/BuildFarm.job scripts/MakeRelease.job tcwgweb.sh
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/jenkins.sh b/jenkins.sh
index b60be13f..6395a946 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
+
usage()
{
# Format this section with 75 columns.
@@ -31,6 +32,10 @@ if test $# -lt 1; then
# exit
fi
+# load commonly used functions
+which_dir="`which $0`"
+topdir="`dirname ${which_dir}`"
+
# This is where all the builds go
if test x"${WORKSPACE}" = x; then
WORKSPACE="`pwd`"
@@ -46,12 +51,6 @@ user_git_repo="--with-git-reference-dir=${shared}/snapshots"
# set default values for options to make life easier
user_snapshots="${user_workspace}/snapshots"
-# This is the top level directory for the cbuild2 sources.
-cbuild_dir="${user_workspace}/cbuildv2"
-
-# Languages to build
-languages="default"
-
# The release version string, usually a date
releasestr=
@@ -182,6 +181,11 @@ case "$(hostname)" in
"tcwg-ex40-"*) sed -i -e "s/cpus=8/cpus=16/" host.conf ;;
esac
+# load commonly used varibles set by configure
+if test -e "${PWD}/host.conf"; then
+ . "${PWD}/host.conf"
+fi
+
# This is the top level directory for the cbuild2 sources.
#cbuild_dir="${cbuild_path}"
@@ -281,6 +285,7 @@ if test x"${manifest}" != x; then
if test x"${BUILD_USER_ID}" != x; then
echo "email=${BUILD_USER_ID}" >> ${manifest}
fi
+ echo "build_url=${BUILD_URL}" >> ${manifest}
else
echo "ERROR: No manifest file, build probably failed!"
fi