summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2014-10-16 16:47:27 -0600
committerRob Savoye <rob.savoye@linaro.org>2014-10-16 16:47:27 -0600
commita792a460aa0d2ebca859030727e3e1b952cff47d (patch)
tree10cb91df4aa1173388a6adcec15294c6b7ef8a30 /jenkins.sh
parent54efe7748d73ece1c3e310bab4edc2a336d65c08 (diff)
dump env variables to see if they're getting imported. This will be removed soon
Change-Id: Ic6ff60c79ca9ea449d31fd0f95db122f88ca2c59
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/jenkins.sh b/jenkins.sh
index dbbad058..0ce645d9 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.
@@ -170,6 +171,10 @@ fi
$CONFIG_SHELL ${cbuild_dir}/configure --with-local-snapshots=${user_snapshots} --with-git-reference-dir=${shared}/snapshots
+# load commonly used varibles
+if test -e "${PWD}/host.conf"; then
+ . "${PWD}/host.conf"
+fi
# Delete the previous test result files to avoid problems.
find ${user_workspace} -name \*.sum -exec rm {} \; 2>&1 > /dev/null
@@ -198,6 +203,8 @@ Files-Pattern: *
License-Type: open
EOF
+env
+
if test x"${tars}" = x; then
# date="`${gcc} --version | head -1 | cut -d ' ' -f 4 | tr -d ')'`"
date="`date +%Y%m%d`"
@@ -258,6 +265,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