0

We have a SpringBoot project which uses Gradle. We want to create a tag whenever the main branch is deployed using Jenkins. We searched and found gradle-release plugin which facilitates this. But while using this it's failing saying Failed to run [git remote update] as it can't connect to https://github.com. Further is shows fatal: could not read Username for 'https://github.com': No such device or address error: Could not fetch origin. We have Jenkins multibranch pipeline job. How can we provide the credentials to Jenkins so that it doesn't fail? If it's not feasible, is there some other plugin or way to accomplish the task of creating tags when main is deployed. Any help is much appreciated.

poly_glot
  • 21
  • 5

0 Answers0