Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity.Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address
jenkins所用到的插件: Gitlab Hook Plugin 配置步骤 1.先进入gitlab的个人设置,生成api token 2.复制生成的访问令牌,打开jenkins的凭据,添加选择类型是gitlab api token,将上步gitlab生成的token粘贴至 api token 3.进入jenkins的系统管理->系统设置,配置gitlab信息 4.jenkins新建一个job,构建触发选择:Build when a change is pushed to GitLab 5.回到