Skip to content

Commit

Permalink
Explicitly set 'main' as target branch for cloning of lemminx repo.
Browse files Browse the repository at this point in the history
- Using git plugin with no branch set appears to default to 'master'

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
  • Loading branch information
rgrunber committed Jul 27, 2022
1 parent 1d1ae4d commit 857ee6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 857ee6b

Please sign in to comment.