Commit b2604934 authored by Serdar TURKEL's avatar Serdar TURKEL

final20

parent f5e04560
pipeline {
agent any
tools {
maven 'Maven 3.8.6'
jdk 'JDK 1.8'
......@@ -21,7 +20,11 @@ pipeline {
stages {
stage('Build') {
steps {
sh 'echo ${JAVA_HOME}'
sh 'echo ${MAVEN_HOME}'
sh 'which java'
sh 'java -version'
sh 'which mvn'
sh 'mvn -version'
sh 'mvn dependency:tree -Dverbose -B -DskipTests clean package'
}
......
git add Jenkinsfile
git commit -m $1
git push
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