feat: bazel: fix xpath query
@@ -75,7 +75,7 @@ public class Pipelines {
.parseReplaceInEachLine("^", "//external:")
.executeBazelOnEachLine(Arrays.asList(QUERY_COMMAND, "kind(maven_jar, ${input.item})", OUTPUT_FLAG, "xml"), true)
// TODO this only works if the github url is not first in list (not a guarantee; mirror might be first)
- .parseValuesFromXml("/query/rule[@class='http_archive']/list[@name='urls'][1]/string", "value")
+ .parseValuesFromXml("/query/rule[@class='http_archive']/list[@name='urls']/string", "value")
.transformGithubUrl()
.build();
availablePipelines.put(WorkspaceRule.HTTP_ARCHIVE, httpArchiveGithubUrlPipeline);
