0

Problem Statement : I have a list of repositories in a file belonging to the same GitHub Organization. Using Jenkins Pipeline I have to go through the list of them all. I have already fetched the master commit Hash, but I want to fetch the pom version of everyone of them and store it in a file.

The scripts has to be run via Jenkins file pipeline.

I am not getting any links or any understanding of any commands that I can use.

Jenkins with Maven requires every project to be built for it to create a workspace in Jenkins. We do not want to do that.

What we have tried : We tried the git ls-remote command. But it was with limited results.

Dibyalok
  • 15
  • 4
  • Getting one file from remote repo depends on your git server. Often you could access file by http url and you know how to build this url for your git repo. https://stackoverflow.com/questions/1125476/retrieve-a-single-file-from-a-repository – daggett Mar 19 '22 at 07:09

0 Answers0