Merge lp:~linaro-infrastructure/linaro-ci/submit_to_trigger_defconfig_changes into lp:linaro-ci

Proposed by Deepti B. Kalakeri
Status: Merged
Merged at revision: 52
Proposed branch: lp:~linaro-infrastructure/linaro-ci/submit_to_trigger_defconfig_changes
Merge into: lp:linaro-ci
Diff against target: 25 lines (+8/-0)
1 file modified
jenkins_kernel_build_inst (+8/-0)
To merge this branch: bzr merge lp:~linaro-infrastructure/linaro-ci/submit_to_trigger_defconfig_changes
Reviewer Review Type Date Requested Status
Данило Шеган (community) Approve
Review via email: mp+90060@code.launchpad.net

Description of the change

Making changes to address the Submit to trigger defconfigs BP

To post a comment you must log in.
Revision history for this message
Данило Шеган (danilo) wrote :

Looks good. You seem to have a misplaced space on line 18: " ;then" instead of "; then" :)

review: Approve
Revision history for this message
Deepti B. Kalakeri (deeptik) wrote :

> Looks good. You seem to have a misplaced space on line 18: " ;then" instead of
> "; then" :)

Good catch!! Review addressed.

Thanks!!!
Deepti.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jenkins_kernel_build_inst'
2--- jenkins_kernel_build_inst 2012-01-06 11:42:33 +0000
3+++ jenkins_kernel_build_inst 2012-01-25 09:44:25 +0000
4@@ -27,6 +27,9 @@
5 if test -z "$submit_job"; then
6 submit_job=1
7 fi
8+if test -z "$git_reset"; then
9+ git_reset=false
10+fi
11
12 export kernel_config
13 export hwpack_type
14@@ -38,6 +41,11 @@
15 export bundle_stream_name=`echo $JOB_NAME | sed -e 's/_.*//' -e 's/\./_/g'`
16 kernel_config_name=`echo ${kernel_config} | sed -e 's/_defconfig//g'`
17
18+if $git_reset = "true" ;then
19+ git reset --hard $GIT_COMMIT
20+ echo "DEBUG: We have reset the git now to point at $GIT_COMMIT commit id"
21+fi
22+
23 if test "$hwpack_type" = "panda" ; then
24 export kernel_version=`git describe --match='v*' | sed -e 's/^v//'``echo -${kernel_config_name}-linaro-lt-${kernel_flavour} | sed -e 's/_/-/g'`
25 else

Subscribers

People subscribed via source and target branches