Great, I just wondering if there is some interval for the agent where it is retried to connect?
The build machine is usually offline if not used (e.g. at night) or restarted (e.g. to acquire a higher resource level).
We can handle additional permissions for dealing with Jenkins agents on Monday.
You have the following additional permissions now:
"Agent/Connect"
"Agent/Disconnect"
"Agent/ExtendedRead"
Great, I just wondering if there is some interval for the agent where it is retried to connect? The build machine is usually offline if not used (e.g. at night) or restarted (e.g. to acquire a higher resource level).
At the moment I'm struggling a bit with the configuration so at the moment there is not much additional power, but hopefully I'll sort that out soon :-)
@fgurr I noticed that the "declarative tool install" seems not working as desired, is there possible no install sources configured or is this intentional?
Wouldn't it be more useful to instead have a docker container with the slave configured in the container? I've previously used that mechanism in another open source project, see https://github.com/cgeo/cgeo-executor. It's a container that automatically runs an agent of a predefined Jenkins master. That way everyone could anonymously contribute CI power.
The benefits would be:
The docker container can fetch secrets defined by the eclipse admins in a safe way without sharing them with the person running the container.
Additional tools for the Jenkins agents can be installed in the container, instead of relying on them being available on the real new machine, or on Jenkins installing them somehow at runtime.
Avoids a huge variety of Jenkins agent OS, version etc. Especially nice when updates and changes have to be done.
@mkeppler I'm not sure if it is really 'safe' to share secrets just because it is a docker-container can you explain how it is supposed to work?
I think if there is a safe way (the git-steps seem to use interactive auth for this) it should work regardless if the node is a container or a "real" machine?
Wouldn't it be more useful to instead have a docker container with the slave configured in the container?
Sure I'm just using what Eclipse offers here but not bound to it, but I think this would require that arbitrary executors can connect. On the other hand it won't require a public IP.
Additional tools for the Jenkins agents can be installed in the container, instead of relying on them being available on the real new machine, or on Jenkins installing them somehow at runtime.
I played around with the build node and it works quite well.
Things that would be useful:
remove the centos-8 label (was just for testing), the label linux seems to include an additional ',' also add an external label (see also #1111 (comment 648634)) so one could better control where jobs are run (e.g. for deployment I assume it must run on an EF node)
if team members (or 'owner' of the node) could set nodes to online/offline to allow ordered shutdown/boot