My Jenkins container version is 2.551. I created a new cloud named “docker-agent”, then I configured the Docker Cloud details and added the template. I performed this operation three times and created three templates. Now I want to delete the template but can’t find where to do it (see Figure 1). Is it because it can only be newly added but not deleted? I’m at a loss. I can only delete the “docker-agent” cloud and then created a new cloud named “docker” (Figure 2). Strangely, the Jenkins homepage shows the “docker-agent” cloud and its template content, and clicking on “docker-agent” doesn’t lead to any page. Is this a bug?
Question:
Can the newly added Docker Agent templates be deleted? If yes, how to delete them?
After deleting one Docker Cloud, and then creating a new one, the previously deleted Docker Cloud was clearly not present in the Clouds list. Why is it displayed on the Jenkins homepage? Is this a bug?
Agent templates can be deleted from the Docker plugin. “Manage Jenkins” → Clouds → [name-of-cloud] → Configure → Docker Agent templates → press the red “x” in the top right corner of the agent template to delete it.
The URL to my Docker cloud configuration is /manage/cloud/fedora-a/configure because my cloud is named “fedora-a”.
That might be an agent that has been requested but cannot be connected because there is an error in the agent template defintion.
Yes, see the details earlier in this post
I suspect that you are not seeing the difference between a cloud and a request to allocate an agent. The cloud statistics dialog on my controller shows a list of historical allocations of cloud agents and it displays them beneath the name of the cloud that allocated the agent. With my cloud named “fedora-a”, it looks like this:
Your question has shown that there is a bug in the “three dots” menu on the right side of the “Clouds” page. When I click “Delete cloud” there, it does not delete the cloud. I must open the cloud’s own page and click the “Delete cloud” action on the left.