-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-73172] Reuse credentials object reference through scans to a…
…void frequent duplicated lookups (#787) * [JENKINS-73172] Cache scan credentials in ThreadLocal to avoid frequent duplicated lookups * [JENKINS-73172] Adapt GitHubSCMBuilder and fix tests * [JENKINS-73172] Use CredentialsProvider.lookupCredentialsInItem * [JENKINS-73172] Extract in a CredentialsCache * [JENKINS-73172] Handle expiration * [JENKINS-73172] Improve thoughput using parent context + add disabled via system property * [JENKINS-73172] Keep referenc of the credentials through scans * [JENKINS-73172] Revert ThreadLocal from Connector * [JENKINS-73172] Add missing volatile Co-authored-by: Robert Sandell <rsandell@cloudbees.com> * Restrict * [JENKINS-73172] Apply spotless * [JENKINS-73172] Spotbugs fix / Prevent potential NPE * [JENKINS-73172] Apply non deprecated API suggestions Co-authored-by: Jérôme Pochat <jpochat@cloudbees.com> * [JENKINS-73172] Make method private Co-authored-by: Jérôme Pochat <jpochat@cloudbees.com> * [JENKINS-73172] Infer ID from credentials object if not null for consistency --------- Co-authored-by: Robert Sandell <rsandell@cloudbees.com> Co-authored-by: Jérôme Pochat <jpochat@cloudbees.com>
- Loading branch information
1 parent
11ce4fe
commit 98e3d8a
Showing
7 changed files
with
150 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.