Skip to content

Commit

Permalink
Have CI run the build with the Maven wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <[email protected]>
  • Loading branch information
fbricon committed Nov 8, 2023
1 parent 7d8cfca commit a7f2154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windowsPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Build with Maven
run: mvn -B verify --file lemminx-maven/pom.xml -fae
run: mvnw.cmd -B verify --file lemminx-maven/pom.xml -fae
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pipeline{
agent any
tools {
maven 'apache-maven-latest'
jdk 'openjdk-jdk17-latest'
}
environment {
Expand All @@ -11,7 +10,7 @@ pipeline{
stages{
stage("Maven Build"){
steps {
sh 'mvn -B verify --file lemminx-maven/pom.xml -Pgenerate-vscode-jars -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true'
sh './mvnw -B verify --file lemminx-maven/pom.xml -Pgenerate-vscode-jars -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true'
}
post {
always {
Expand All @@ -25,7 +24,7 @@ pipeline{
branch 'master'
}
steps {
sh 'mvn -B deploy --file lemminx-maven/pom.xml -Pgenerate-vscode-jars -DskipTests -Dcbi.jarsigner.skip=false'
sh './mvnw -B deploy --file lemminx-maven/pom.xml -Pgenerate-vscode-jars -DskipTests -Dcbi.jarsigner.skip=false'
}
}
}
Expand Down

0 comments on commit a7f2154

Please sign in to comment.