@@ -1,5 +1,5 @@
pipeline {
- agent { dockerfile true }
+ agent none
stages {
stage('pullCode'){
@@ -12,7 +12,8 @@ pipeline {
steps {
echo 'Building..'
sh '~/tools/apache-maven-3.6.3/bin/mvn clean install -Dmaven.test.skip=true'
- }
+ sh 'docker build'
+}
}
stage('Test') {