mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
Created an attachable network which was needed for maven in petclinic repo to connect to ci services internally
This commit is contained in:
parent
c60e13f45d
commit
beada8ac6a
1 changed files with 71 additions and 66 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -1,5 +1,10 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { docker 'maven:alpine' }
|
agent {
|
||||||
|
docker{
|
||||||
|
image 'maven:alpine'
|
||||||
|
args '--network=ci_attachable'
|
||||||
|
}
|
||||||
|
}
|
||||||
options {
|
options {
|
||||||
gitLabConnection('gitlab')
|
gitLabConnection('gitlab')
|
||||||
buildDiscarder(logRotator(numToKeepStr: '5'))
|
buildDiscarder(logRotator(numToKeepStr: '5'))
|
||||||
|
|
Loading…
Reference in a new issue