mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
added maven java
This commit is contained in:
parent
8d940b2b7b
commit
e5493e5c15
1 changed files with 1 additions and 3 deletions
|
@ -9,9 +9,7 @@ pipeline {
|
|||
}
|
||||
stage('build') {
|
||||
steps {
|
||||
sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH"'
|
||||
sh 'export PATH="/opt/maven/bin:$PATH"'
|
||||
sh 'mvn package'
|
||||
sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && export PATH="/opt/maven/bin:$PATH" && mvn package'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue