Change agent names for build slaves
This commit is contained in:
parent
4a49a9c177
commit
7ae951fbfd
2 changed files with 9 additions and 4 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -46,9 +46,9 @@ pipeline {
|
|||
#!/bin/bash
|
||||
docker-compose down
|
||||
|
||||
docker stop linuxbuilder || true
|
||||
docker stop linuxagent || true
|
||||
docker stop linuxfs || true
|
||||
docker stop arch || true
|
||||
docker stop archagent || true
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
@ -224,6 +224,11 @@ pipeline {
|
|||
'''
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ version: "3"
|
|||
services:
|
||||
linuxbuilder:
|
||||
image: linuxagent
|
||||
container_name: linuxbuilder
|
||||
container_name: linuxagent
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
networks:
|
||||
|
@ -17,7 +17,7 @@ services:
|
|||
- buildenv
|
||||
arch:
|
||||
image: archagent
|
||||
container_name: arch
|
||||
container_name: archagent
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
networks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue