Comments (11)
4 years later and this is still not fixed?..
from scm-sync-configuration-plugin.
the easiest way i had a workaround for this was by adding a .gitconfig
file in the jenkins root folder with the following:
[user]
name = <git-username>
email = <git-email>
from scm-sync-configuration-plugin.
I've set that in Jenkins Global Configuration (Git plugin settings) and still get this error
from scm-sync-configuration-plugin.
I'm experiencing the same behaviour on a first time install of the plugin (version 0.0.7.3).
Thanks for including a workaround! Setting --global user.email and user.name via command line worked for me as well.
from scm-sync-configuration-plugin.
I can confirm this issue ...
from scm-sync-configuration-plugin.
I can also confirm this issue. Jenkins 1.577 , git plugin 2.2.7 , git client plugin 1.11.0
from scm-sync-configuration-plugin.
+1 on this -- is there @jenkinsci is it possible to use git credentials provided by the SSH credentials plugin?
from scm-sync-configuration-plugin.
Also an issue for us.
I believe this is because the usual scm usage doesn't create commits at all. So the scm plugin doesn't intend to leave any configuration for git execution in shell steps.
Maybe it's worth considering a withSCM step to allow custom commands using the values configured in the scm plugin, but that sounds like a major redesign of the whole SCM plugin interface.
I workaround the issue by wrapping the checkout step with a custom step in a custom shared library.
from scm-sync-configuration-plugin.
If this plugin would use Git plugin configuration, couldn't there be a problem when Git configuration is changed during synchronization?
from scm-sync-configuration-plugin.
Oh wow I didn't see that I was posting for the sync plugin, sorry. :) I was talking about the general git plugin.
from scm-sync-configuration-plugin.
So, it's still not fixed.
I need to explicitly mention the git config command in the pipeline like this
sh """ git config --global user.email '[email protected]' git config --global user.name 'jenkin' """
else I always get "Please tell me who you are" error although I set the global username and email
from scm-sync-configuration-plugin.
Related Issues (20)
- Support for Perforce
- Configure Git SCM with credentials HOT 13
- Access to GIT Repository broken with Jenkins 2.30 HOT 2
- URL wrongly manipulated
- Active Maintainer HOT 9
- Renaming or Deleting a job doesn't work with SVN HOT 3
- SCM not working HOT 2
- Overwrite main config file while reload from scm HOT 3
- promotion configurations from the Promoted Builds Plugin are not synced
- Questions regarding checkout directory
- Cut a new release HOT 6
- not-a-git-repo
- Manual Synchronization includes dont show up
- One Question Regarding the Plugin HOT 1
- Issue tracking should be in one place only HOT 1
- Strange output in footer HOT 7
- github branch option main
- Hi! Is there anybody?
- SCM sync configuration plugin stopped working for new version of Jenkins 2.332.1 HOT 16
- For anyone still want to use this plugin with Jenkins 2.277 and above HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scm-sync-configuration-plugin.