How can i view logs of ephemeral agents created by ,
GitHub - jenkinsci/docker-ssh-agent: Docker image for Jenkins agents connected over SSH
How can i view logs of ephemeral agents created by ,
GitHub - jenkinsci/docker-ssh-agent: Docker image for Jenkins agents connected over SSH
I don’t know how to do that in the Jenkins UI (except when the agent is running, and these would be the pipeline logs, not the agent logs), and I have nothing simple/efficient to do so…
To potentially view the logs of ephemeral agents created by the “jenkinsci/docker-ssh-agent” Docker image, you may consider the following steps, although I haven’t tested it:
docker ps
command to list all running containers and try to locate the relevant container.docker logs
command to view the logs. Replace CONTAINER_ID
with the actual ID or name of the container:docker logs -f CONTAINER_ID