Closed TerrenceMcGuinness-NOAA closed 4 months ago
We need a script that can run from a cron job that check the node connection to the Jenkins agent on a machine and start up the agent if is not.
That the cron script can launch an agent if it is not connected
We test the system by manually killing the agent and see if the cron starts it back up on its own
write in in bash and use curl with Jenkins Remote API to check the connection.
What new functionality do you need?
We need a script that can run from a cron job that check the node connection to the Jenkins agent on a machine and start up the agent if is not.
What are the requirements for the new functionality?
That the cron script can launch an agent if it is not connected
Acceptance Criteria
We test the system by manually killing the agent and see if the cron starts it back up on its own
Suggest a solution (optional)
write in in bash and use curl with Jenkins Remote API to check the connection.