Commit 638a7edc authored by Serdar TURKEL's avatar Serdar TURKEL

final 9

parent a9434ba8
...@@ -23,11 +23,8 @@ pipeline { ...@@ -23,11 +23,8 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh ''' sh 'export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64'
export JAVA_HOME="${tool 'JDK 1.8'}" sh 'mvn dependency:tree -Dverbose -B -DskipTests clean package'
export PATH="${JAVA_HOME}/bin:${env.PATH}"
mvn dependency:tree -Dverbose -B -DskipTests clean package
'''
} }
} }
stage("Nexus") { stage("Nexus") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment