Commit 8631c224 authored by Serdar TURKEL's avatar Serdar TURKEL

final 5

parent 41528a1b
......@@ -18,14 +18,14 @@ pipeline {
// Jenkins credential id to authenticate to Nexus OSS
NEXUS_CREDENTIAL_ID = "nexus-credential"
JAVA_HOME="${tool 'JDK 1.8'}"
PATH="${env.JAVA_HOME}/bin:${env.PATH}"
PATH="${JAVA_HOME}/bin:${env.PATH}"
}
stages {
stage('Build') {
steps {
export JAVA_HOME="${tool 'JDK 1.8'}"
export PATH="${JAVA_HOME}/bin:${env.PATH}"
sh 'mvn dependency:tree -Dverbose -B -DskipTests clean package'
}
}
......
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