Commit 8933cc37 authored by Serdar TURKEL's avatar Serdar TURKEL

add docker version

parent fe730d57
......@@ -27,6 +27,8 @@ pipeline {
sh 'java -version'
sh 'which mvn'
sh 'mvn -version'
sh 'which docker'
sh 'docker version'
sh 'mvn dependency:tree -Dverbose -B -DskipTests clean package'
}
}
......@@ -68,7 +70,8 @@ pipeline {
}
stage('Docker Image') {
steps {
sh 'docker build -t inity/springtemplate:latest .'
sh 'which docker'
sh 'docker build -t localhost:5000/springtemplate:latest .'
}
}
}
......
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