K
K
ksvdon2016-04-21 13:36:55
Jenkins
ksvdon, 2016-04-21 13:36:55

Is it possible to force the job not to fail, but to wait for a reconnect with the node?

Testing in Jenkins. Job refers to a node. During the launch of the build, I rollback the snapshot to the virtual machine on which the test is taking place, which for some time leads to a lack of connection between the virtual machine and the node (the node is made on this virtual machine). After a few seconds, the connection is automatically raised, but the job crashes. I have a set of crutch solutions, but I would like to somehow make it wait for the node and VM to reconnect during the execution of one job. Issue a timeout when we wait for a reconnect and do not file, say 5 minutes. Is it possible?
Because as a crutch - as an option it is to restart the project, create, say, a temporary file somewhere on the server with Jenkins (th) and focusing on its presence during automatic rebuild, do not roll back to snapshot. it has already happened. But then the results of the job execution will be at least mixed red and blue ... This is some kind of garbage ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question