Re: Detect in a pipeline that a node is not working

2023-02-08 Thread 'Xavier Raynaud' via Jenkins Users
Hi, timeout has "activity" flag: When set, it timeout after no activity in logs for this block instead of absolute duration. If your testcases print something in console, it may fit your needs. timeout(activity: true, time: 1, unit: 'HOURS') { // some block } Xavier From: "Baptiste Ma

Re: Shared Library: Converting a complete pipeline to a single step.

2023-01-18 Thread 'Xavier Raynaud' via Jenkins Users
Hi, AFAIK, WORKSPACE is defined per agent, not for a global pipeline. For instance, if you run a pipeline on two distincts agents, each of them will have its own WORKSPACE Xavier Raynaud Integration & Release Manager • Kalray Phone: +33 6 32 19 22 56 xrayn...@kalrayinc.com • [ https://ww

Re: HTML pages as archived artifacts

2023-01-13 Thread 'Xavier Raynaud' via Jenkins Users
Hi Jochen & Christoph Be careful: CSS is stripped out because of the Content Security Policy in Jenkins. See [ https://www.jenkins.io/doc/book/security/configuring-content-security-policy/ | https://www.jenkins.io/doc/book/security/configuring-content-security-policy/ ] (and also [ https://

Re: email-ext plugin stops without explication

2023-01-10 Thread 'Xavier Raynaud' via Jenkins Users
Hi, I've done that, and after some time found the root cause. Exception in thread "main" java.util.ServiceConfigurationError: jakarta.mail.Provider: Provider com.sun.mail.imap.IMAPProvider not a subtype at java.util.ServiceLoader.fail(ServiceLoader.java:239) [...] Googleling a bit about thi

email-ext plugin stops without explication

2023-01-06 Thread 'Xavier Raynaud' via Jenkins Users
Hi, I'm using email-ext plugin on a post-build task of a FreeStyle project and sometime, emails are not send. In order to understand why, I activate the "Enable Debug Mode" of this plugin. I obtain the following output when all is OK: 18:05:27 Performing post-build step 18:05:27 Checking if