Merge "Add possibility to use comments in 'tag-git-repos'"
diff --git a/tag-git-repos.groovy b/tag-git-repos.groovy
index 52344d1..550a2a1 100644
--- a/tag-git-repos.groovy
+++ b/tag-git-repos.groovy
@@ -28,6 +28,9 @@
def repos = GIT_REPO_LIST.tokenize('\n')
def repoUrl, repoName, repoCommit, repoArray
for (repo in repos){
+ if(repo.startsWith('#'))
+ common.warningMsg("Skipping:" + repo.toString())
+ continue
if(repo.trim().indexOf(' ') == -1){
throw new IllegalArgumentException("Wrong format of repository and commit input")
}
@@ -43,4 +46,4 @@
throw e
}
}
-}
\ No newline at end of file
+}