报错如下:

持续集成 - 常见问题(二)jenkins上配置gitee报错 fatal: Authentication failed for 'https://gitee.com/xiaochongchongzy/test.git/'

 

分析:

这是git权限错误,因为jenkins上没有gitee的账户信息(账号密码)

 

解决方案:

1. 在jenkins上添加gitee的凭据,首页 -> 凭据 -> 添加凭据,如下图:

持续集成 - 常见问题(二)jenkins上配置gitee报错 fatal: Authentication failed for 'https://gitee.com/xiaochongchongzy/test.git/'

 类型和范围默认,填写gitee登录时的用户名和密码

持续集成 - 常见问题(二)jenkins上配置gitee报错 fatal: Authentication failed for 'https://gitee.com/xiaochongchongzy/test.git/'

 2. 在jenkins任务配置中,选择该凭据

持续集成 - 常见问题(二)jenkins上配置gitee报错 fatal: Authentication failed for 'https://gitee.com/xiaochongchongzy/test.git/'

 

 

ok啦~

 

相关文章:

  • 2021-11-18
  • 2021-09-07
  • 2021-09-24
  • 2021-11-28
  • 2022-12-23
  • 2021-11-07
  • 2021-08-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2021-10-05
  • 2021-12-05
  • 2022-12-23
  • 2021-10-31
相关资源
相似解决方案