Add Docker network to agents for SonarQube connectivity

This commit is contained in:
Yuxin Deng 2025-11-23 17:01:14 -05:00
parent 478db48cd5
commit cee599eb0e

2
Jenkinsfile vendored
View file

@ -10,7 +10,7 @@ pipeline {
MAVEN_OPTS = '-Xmx1024m'
PROJECT_NAME = 'spring-petclinic'
SONAR_PROJECT_KEY = 'spring-petclinic'
DOCKER_ARGS = '-v /var/run/docker.sock:/var/run/docker.sock'
DOCKER_ARGS = '-v /var/run/docker.sock:/var/run/docker.sock --network spring-petclinic_devops-net'
}
stages {