We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5d34a commit bcdcc2dCopy full SHA for bcdcc2d
Jenkinsfile
@@ -1,18 +1,17 @@
1
pipeline {
2
agent any
3
4
- tools {
5
- maven 'maven-3.6.0'
6
- jdk 'jdk8'
7
- }
8
-
9
triggers {
10
// timer trigger for "nightly build" on master branch
11
cron( env.BRANCH_NAME.equals('master') ? 'H H(0-3) * * 1-5' : '')
12
}
13
14
stages {
15
stage ('Environment') {
+ tools {
+ maven 'maven-3.6.0'
+ jdk 'jdk8'
+ }
16
steps {
17
sh '''
18
echo "PATH = ${PATH}"
@@ -23,6 +22,10 @@ pipeline {
23
22
24
25
stage ('Build') {
26
27
28
29
30
31
mvn -B -DskipTests clean package
0 commit comments