diff options
-rw-r--r-- | jenkins-helpers.sh | 7 | ||||
-rwxr-xr-x | tcwg_kernel-build.sh | 15 |
2 files changed, 19 insertions, 3 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh index 66f26429..a330b239 100644 --- a/jenkins-helpers.sh +++ b/jenkins-helpers.sh @@ -847,9 +847,14 @@ run_step_init () run_step_count="0" run_step_prev_step="" run_step_active=false - run_step_use_baseline=true run_step_artifacts="" + if [ x"$run_step_base_artifacts" != x"" ]; then + run_step_use_baseline=true + else + run_step_use_baseline=false + fi + rm -f $run_step_top_artifacts/console.log } diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh index 0c8df057..5c232521 100755 --- a/tcwg_kernel-build.sh +++ b/tcwg_kernel-build.sh @@ -14,7 +14,7 @@ convert_args_to_variables @@ $scripts/tcwg_kernel/gnu-default.sh \ @@ $scripts/tcwg_kernel/linux-default.sh \ "$@" -# Execution mode: baseline, jenkins-full, bisect. +# Execution mode: baseline, jenkins-full, bisect, continue. mode="${mode-baseline}" # Toolchain to use: gnu or llvm @@ -89,6 +89,11 @@ case "$mode" in default_finish_at="check_regression" git_read_only=true ;; + "continue") + # Developer mode. + default_start_at="prepare_abe" + git_read_only=true + ;; "jenkins-full") ;; esac @@ -99,7 +104,13 @@ if [ x"$finish_at" = x"default" ]; then finish_at="$default_finish_at" fi -run_step_init "$start_at" "$finish_at" "$top_artifacts" "base-artifacts" "$verbose" +if [ x"$mode" != x"continue" ]; then + base_artifacts_opt="base-artifacts" +else + base_artifacts_opt="" +fi + +run_step_init "$start_at" "$finish_at" "$top_artifacts" "$base_artifacts_opt" "$verbose" # Reset artifacts to an empty state. $top_artifacts/results is the most # important artifact, since it records the metric of how successful the build |