From 857ee6bed3beb231aad23011c090964eb77bd32e Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Wed, 27 Jul 2022 11:29:15 -0400 Subject: [PATCH] Explicitly set 'main' as target branch for cloning of lemminx repo. - Using git plugin with no branch set appears to default to 'master' Signed-off-by: Roland Grunberg --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8f739a26..2362cad5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,7 +33,7 @@ node('rhel8'){ if (!files[0]) { stage 'Build XML LS' - git url: 'https://github.com/eclipse/lemminx.git' + git url: 'https://github.com/eclipse/lemminx.git', branch: 'main' sh "./mvnw clean verify -B -U -e -P!jboss-maven-repos,!redhat-ga-repository,!redhat-ea-repository" sh "mv org.eclipse.lemminx/target/org.eclipse.lemminx*-uber.jar ." files = findFiles(glob: 'org.eclipse.lemminx*-uber.jar')