Might be a question for developers or a bug ticket. I've got a multibranchPipelineJob project which runs a Jenkinsfile. The job executes as expected apart form one part.
If I select "Configure remote name" and change it to "origin1". When I do "sh 'git remote -v'". I see as expected; [Pipeline] sh <http://localhost:8181/job/parent_build-branches/job/develop/2/console#> + git remote -v origin1 REPO (fetch) origin1 REPO (push) [Pipeline] sh But If I do "Custom user name/e-mail address" and enter say "aName" and "[email protected]". When I do "sh 'git config --list'". I don't see user.name or user.email set, I just see; [Pipeline] sh <http://localhost:8181/job/parent_build-branches/job/develop/2/console#> + git config --list core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin1.url=REPO remote.origin1.fetch=+refs/heads/*:refs/remotes/origin1/* [Pipeline] sh According to the documentation I should be seeing user.name and user.email set here. Just wondering if it's a bug, a bug with multibranch pipeline job, or I'm missing a step in my Jenkinsfile. I'm using a Scripts Pipeline Jenkinsfile and am checking out the code using "checkout scm". And I've checked user.name and user.email before and after checkout. Anyone else using multibranchPipelineJob and Custom name and email? I've tested on v2.204.6, v2.222.4 and v.235.5, and the latest plugins which install on each of those versions. Cheers, John -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a632cc2f-c586-42ca-9f36-b6699631a9dfn%40googlegroups.com.
