Hi Everyone, Good Morning.
Request any ones help to List All FILES from the GIT BRANCH.
I am trying to first list Branches of a GIT REPO, then list the files of the BRANCH.
I am facing problem while listing files of the BRANCH.
I have used this code List files Of the GIT REPO with Extended Choice Parameter.
return gettags.text.readLines().collect {
it.split()[1].replaceAll('refs/heads/', '').replaceAll('refs/tags/', '').replaceAll("\\^\\{\\}", '')
}
BUT this code is not working for Listing the Files of the GIT BRANCH.
return gettags.text.readLines().collect {
it.split()[1].replaceAll('refs/heads/', '').replaceAll('refs/tags/', '').replaceAll("\\^\\{\\}", '')
}