I mean putting a high timeout, like 1 hour, or 10 or whatever depending on what it does, so the pipeline eventually does complete and creates the reports. Without this, it may indeed stay stalled forever.
Le mar. 7 févr. 2023 à 22:18, 'Jean-Philippe Humbert' via Jenkins Users < [email protected]> a écrit : > This is not a solution for me. > I can’t predict the duration of some test cases. > > Le 7 févr. 2023 à 20:01, Baptiste Mathus <[email protected]> a écrit : > > I'd consider simply putting a timeout in place for this node or so, so it > eventually fails and you get to your reporting step. > > Le mar. 7 févr. 2023 à 17:13, 'Jean-Philippe Humbert' via Jenkins Users < > [email protected]> a écrit : > >> I need some help for the following problem: >> I have a pipeline which starts parallel jobs (test cases) and wait until >> they are all finished, to produce a report. >> Sometime the test case breaks the node (OS crash, the network not >> responding). >> My pipeline waits because of the hung job. Jenkins shows me that the >> connection with the node ist nor working. >> >> My question: can I check this situation in my pipeline, setting the job >> as failed and my test report will be produced? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/06023261-10F2-4F8D-8607-662911E860C1%40me.com >> <https://groups.google.com/d/msgid/jenkinsci-users/06023261-10F2-4F8D-8607-662911E860C1%40me.com?utm_medium=email&utm_source=footer> >> . >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7Bj%2B74DOxRCyu5hGumaXE1MZ16EdrQMcS1tF_1bxzp-g%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7Bj%2B74DOxRCyu5hGumaXE1MZ16EdrQMcS1tF_1bxzp-g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/D12AB1AA-4C74-429A-9D72-1D3FCFAC5730%40me.com > <https://groups.google.com/d/msgid/jenkinsci-users/D12AB1AA-4C74-429A-9D72-1D3FCFAC5730%40me.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4K2Pxo_v%2BJB%3DFr6fos8eEEm6S8crtT_eK%3DUF%3D94S09MA%40mail.gmail.com.
