<extensions>
<hudson.plugins.git.extensions.impl.UserIdentity>
<name>FooUser</name>
<email>f...@example.com</email>
</hudson.plugins.git.extensions.impl.UserIdentity>
</extensions>
<extensions>
<hudson.plugins.git.extensions.impl.UserIdentity>
<gitConfigName>FooUser</gitConfigName>
<gitConfigEmail>f...@example.com</gitConfigEmail>
</hudson.plugins.git.extensions.impl.UserIdentity>
</extensions>
configure { node ->
node / 'extensions' / 'hudson.plugins.git.extensions.impl.UserIdentity' << {
name('FooUser')
email('f...@example.com')
}
}
I get the expected XML results in the Sandbox but when I attempt to generate it using the gradle-jenkins-plugin I get the warning Warning: doCall is deprecated and the Job/Project gets the name 'FooUser' and user.name/user.email are empty.
I feel like I'm stuck between two issues, 1) gitConfigName and gitConfigEmail don't work or they're not intended for what I'm using. 2) name() is getting picked up by the gradle-jenkins-plugin so I can't manually configure those fields.
What are gitConfigName and gitConfigEmail for?
P.S. Is there an issue tracker for this project?
Thanks for any assistance!
You probably have an different version of the git plugin.From what I can tell, the change from gitConfigName to name probably happened with this commit: https://github.com/jenkinsci/git-plugin/commit/495f2df2b42e16193de690b76d2cf2e7c543ee42
--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/074f7760-2920-4865-a36d-fec6b68e4cb9%40googlegroups.com.