Currently the Buildbucket plugin only retrieves the token on initial load. It should refresh it after an hour once its lease is up.
Issue 700890 has been merged into this issue.
The following revision refers to this bug: https://chromium.googlesource.com/infra/gerrit-plugins/buildbucket/+/c39883c28c004e1b58ff5925d6f72a4e5bb45fae commit c39883c28c004e1b58ff5925d6f72a4e5bb45fae Author: Andrew Bonventre <andybons@chromium.org> Date: Thu Apr 27 20:02:15 2017 Refresh auth token when it expires Also adds additional unit tests for untested components. Bug:662771 Bug:680664 Bug:692980 Change-Id: I3dc2ea87a73953a4b4692694d89e4636352d5bcb Reviewed-on: https://chromium-review.googlesource.com/486986 Reviewed-by: Aaron Gable <agable@chromium.org> [add] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/src/main/resources/static/cr-buildbucket-client.js [modify] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/src/main/resources/static/cr-tryjob-picker.js [modify] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/test/cr-buildbucket-view_test.html [modify] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/src/main/resources/static/cr-tryjob-picker.html [add] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/src/main/resources/static/cr-buildbucket-client.html [modify] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/src/main/resources/static/cr-buildbucket-view.html [add] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/test/cr-buildbucket-client_test.html [modify] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/test/index.html [modify] https://crrev.com/c39883c28c004e1b58ff5925d6f72a4e5bb45fae/src/main/resources/static/cr-buildbucket-view.js
Is this deployed?
It is on canary and will likely be in the main pool later this week.
Comment 1 by aga...@chromium.org
, Nov 16 2016