mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
added maven java
This commit is contained in:
parent
73a63db38a
commit
4fa6ebbe0c
1 changed files with 7 additions and 0 deletions
|
@ -7,5 +7,12 @@ pipeline {
|
||||||
branch: 'develop'
|
branch: 'develop'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stages('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'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue