diff options
author | ciadmin <ci_notify@linaro.org> | 2011-08-30 11:15:52 +0000 |
---|---|---|
committer | ciadmin <ci_notify@linaro.org> | 2011-08-30 11:15:52 +0000 |
commit | 74976abee2aa1c91d0b39e4db675eaa61a5270ba (patch) | |
tree | 3623fb03142a4caf3141f787c1c4b5f1c887e834 /jenkins_kernel_build_inst | |
parent | 221b7825b1147f40f1f1d01777a85a49f5ac02eb (diff) |
Adding command to send the build status to LAVA and modifying build_inst scripts to include proper build information
Diffstat (limited to 'jenkins_kernel_build_inst')
-rwxr-xr-x | jenkins_kernel_build_inst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jenkins_kernel_build_inst b/jenkins_kernel_build_inst index 6c74a4b..2624d28 100755 --- a/jenkins_kernel_build_inst +++ b/jenkins_kernel_build_inst @@ -52,6 +52,7 @@ bzr branch lp:linaro-image-tools new_hwpack_name=`python linaro-image-tools/linaro-hwpack-replace -t $latest_hwpack_name -p ./linux-image*${kernel_version}_*.deb -r linux-image` use_hwpack_name=`basename $new_hwpack_name` log_info=$BUILD_URL"consoleText" +bundle_stream_name_path="/anonymous/ci-$bundle_stream_name/" # Below is the list of values that will be used in the json files echo > hwpack_info # start with empty echo KERNEL_CONFIG=$kernel_config >> hwpack_info @@ -66,10 +67,10 @@ echo GCC_CROSS_COMPILER=`dpkg -s gcc-arm-linux-gnueabi | grep Version | cut -d ' echo BOARD_TYPE=$board_type >> hwpack_info echo HWPACK_TYPE=$hwpack_type >> hwpack_info echo ROOTFS_TYPE=$rootfs_type >> hwpack_info -echo BUNDLE_STREAM_NAME="/anonymous/ci-$bundle_stream_name/" >> hwpack_info +echo BUNDLE_STREAM_NAME=$bundle_stream_name_path >> hwpack_info echo JOB_URL=http://ci.linaro.org/kernel_hwpack/ >> hwpack_info echo KERNEL_VERSION=$kernel_version >> hwpack_info -echo KERNEL_GIT=$GIT_BRANCH >> hwpack_info +echo KERNEL_GIT=`cat .git/config|grep -i git |cut -d "=" -f2` >> hwpack_info echo KERNEL_COMMIT=$GIT_COMMIT >> hwpack_info echo COMMIT_TIME=`git show -s --format=%cD HEAD` >> hwpack_info -echo KERNEL_NAME=$BUNDLE_STREAM_NAME >> hwpack_info +echo KERNEL_NAME=$bundle_stream_name >> hwpack_info |