docker-gocd-server
docker-gocd-server copied to clipboard
Console log is not persisted between restart for running pipeline
Steps
- Run gocd server using Docker
- Trigger a pipeline
- Restart GoCD server container when a pipeline is running
- As GoCD server stores console log in
data/consolewhen the pipeline is running and it is not symlinked togodatadirectory
- As GoCD server stores console log in
After the restart in a new container, GoCD starts logging console log in a new file and loses console log written by the previous container.