Why is there more than one General SCM for jenkins blueocean job execution
Jenkinsfile code is as follows
pipeline {
agent { label "linux_prod" }
stages {
stage("Build") {
agent {
docker {
image "maven:3-alpine"
args "-v /root/.m2:/root/.m2 -v /var/run/docker.sock:/var/run/docker.sock"
}
}
steps {
sh "mvn -B -DskipTests clean package"
}
}
}
post {
always {
sh "docker rmi $(docker images -q -f dangling=true)"
}
}
}
< H2 > can someone help me explain? It"s really unacceptable for obsessive-compulsive disorder, so why pull the code twice? < / H2 >