Building with JDK8 in jenkins
This commit is contained in:
parent
b38ffdc43d
commit
e0f31027a4
1 changed files with 5 additions and 0 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
|
@ -1,7 +1,12 @@
|
|||
// Jenkinsfile (Pipeline Script)
|
||||
node {
|
||||
// Select JDK8
|
||||
env.JAVA_HOME = tool name: 'JDK8'
|
||||
echo "JDK installation path is: ${env.JAVA_HOME}"
|
||||
|
||||
checkout scm
|
||||
|
||||
|
||||
stage('Build') {
|
||||
sh 'ant clean'
|
||||
sh 'ant build'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue