Skip to content
Snippets Groups Projects
Commit 2fc670e2 authored by Oz Linden's avatar Oz Linden
Browse files

do custom initialize calls so that viewer_channel is taken into account for the buildid

parent 7ba028d2
No related branches found
No related tags found
No related merge requests found
...@@ -202,10 +202,9 @@ then ...@@ -202,10 +202,9 @@ then
export additional_packages= export additional_packages=
fi fi
# dump environment variables for debugging initialize_context
begin_section "Environment" codeticket addinput "${viewer_channel}" "viewer_channel"
env|sort initialize_build
end_section "Environment"
# Now run the build # Now run the build
succeeded=true succeeded=true
...@@ -338,7 +337,7 @@ then ...@@ -338,7 +337,7 @@ then
if [ $have_private_repo = true ]; then if [ $have_private_repo = true ]; then
eval "$python_command \"$redirect\" '\${private_S3PROXY_URL}${S3PREFIX}repo/$repo/rev/$revision/index.html'"\ eval "$python_command \"$redirect\" '\${private_S3PROXY_URL}${S3PREFIX}repo/$repo/rev/$revision/index.html'"\
>"$build_log_dir/private.html" || fatal generating redirect >"$build_log_dir/private.html" || fatal "generating global redirect"
upload_output global_redirect "$build_log_dir/private.html" text/html private ## TBD upload_output global_redirect "$build_log_dir/private.html" text/html private ## TBD
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment