'How can I extract a specific file from github using groovy
I have a hundred repos in an organization and I am required to get the latest pom version for each repo. I have tried the current way of sh(returnStdout: true, script: "mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.${repoName} -Drevision=${env.BUILD_NUMBER} -q -DforceStdout) but since I am looping through multiple repos, i am unable to get the build number since the pipeline I'm running is not specific to one repo.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
