Commit 0646c4a
authored
[JENKINS-72268] Missing permission due to desync with cache (#256)
* [JENKINS-72268] Ensure "gh" is present
In case of impersonation the gh variable and the usersByTokenCache could be de-sync, leading to token not able to connect.
Could be related to JENKINS-72209 as well.
* Fix an exception when the authentication token is not exactly which is expected from the plugin1 parent d9f0051 commit 0646c4a
File tree
2 files changed
+11
-3
lines changed- src/main/java/org/jenkinsci/plugins
2 files changed
+11
-3
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
753 | 753 | | |
754 | 754 | | |
755 | 755 | | |
756 | | - | |
757 | | - | |
758 | | - | |
| 756 | + | |
| 757 | + | |
759 | 758 | | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
760 | 765 | | |
761 | 766 | | |
762 | 767 | | |
| |||
0 commit comments