In my GitHub Org job (using GitHub Enterprise), I added a pipeline lib source that is in GitHub. If the scan credential is scoped to the job (created in the job, vs created in the global credential store), there are two problems:
1) The config page under branch shows an error instead of "Currently maps to revision: $SHA".
2) If using a job-scoped credential, the "git fetch" in the job execution does not contain a line saying "Setting GIT_ASKPASS ..."
If I switch to the identical credential stored in the global scope, both the config page and the git fetch (GIT_ASKPASS) works.
I can give more details or try to isolate the problem if needed (standalone, minimal sets of plugins).
|Field||Original Value||New Value|
|Attachment||dots-team Config [Jenkins] 2017-08-16 12-54-50.jpg [ 39304 ]|
|Priority||Minor [ 4 ]||Major [ 3 ]|
|Labels||cloudbees-internal-steel||cloudbees-internal-steel pipeline-improvement shared-libraries|
|Remote Link||This issue links to "CloudBees Internal CD-645 (Web Link)" [ 21141 ]|
|Labels||cloudbees-internal-steel pipeline-improvement shared-libraries||cloudbees-internal-steel pipeline-improvement shared-libraries triaged-2018-11|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Assignee||Jesse Glick [ jglick ]|
|Remote Link||This issue links to "workflow-cps-global-lib #68 (Web Link)" [ 22718 ]|
|Remote Link||This issue links to "scm-api #65 (Web Link)" [ 22719 ]|
|Remote Link||This issue links to "github-branch-source #221 (Web Link)" [ 22720 ]|
|Remote Link||This issue links to "mercurial #127 (Web Link)" [ 22721 ]|
|Remote Link||This issue links to "git #708 (Web Link)" [ 22722 ]|
|Remote Link||This issue links to "subversion #232 (Web Link)" [ 22723 ]|
|Status||In Progress [ 3 ]||In Review [ 10005 ]|
|Released As||workflow-cps-global-lib 2.14|
|Released As||workflow-cps-global-lib 2.14||workflow-cps-global-lib 2.14 https://github.com/jenkinsci/mercurial-plugin/releases/tag/mercurial-2.7|
|Resolution||Fixed [ 1 ]|
|Status||In Review [ 10005 ]||Fixed but Unreleased [ 10203 ]|
|Status||Fixed but Unreleased [ 10203 ]||Resolved [ 5 ]|
|Status||Resolved [ 5 ]||Fixed but Unreleased [ 10203 ]|
|Status||Fixed but Unreleased [ 10203 ]||Closed [ 6 ]|