Re: How to distinct errors and failures in tests

2021-04-23 Thread Jonathan Rogers
On 4/23/21 5:26 PM, Nick N wrote: Thank you Jonathan! Sure, pytest is more advanced framework and provide more features. I will definitely rewrite tests to pytest when my boss give me time. Though it doesn't provide requested feature. What prevents you from using pytest with your existing

Re: How to distinct errors and failures in tests

2021-04-23 Thread Nick N
Thank you Jonathan! Sure, pytest is more advanced framework and provide more features. I will definitely rewrite tests to pytest when my boss give me time. Though it doesn't provide requested feature. By the way unless there is better solution I've implemented a workaround. My framework just

Re: Can we calculate the agent element ?

2021-04-23 Thread JonathanRRogers
It looks like you're trying to allow the same pipeline to run using either Kubernetes agents or some other type of agent. Is that realistic? In my experience, there are a number of things one has to pay attention to in a Kubernetes agent, especially if it's a multi-container pod. I'm not sure

Re: How to distinct errors and failures in tests

2021-04-23 Thread JonathanRRogers
I suggest you start using a test runner which can produce JUnit/XUnit output. I've used both nose and pytest, both of which can run unittest tests and produce JUnit-style XML output. On Wednesday, April 21, 2021 at 8:59:36 AM UTC-4 nikola...@gmail.com wrote: > Thank you for the answer. If I

Re: Jenkins 2.277.1 Issue?

2021-04-23 Thread eric....@gmail.com
Thanks xJom, finally put in the time, figured out the necessary upgrades and did it. Worked like a charm!!! On Tuesday, April 6, 2021 at 6:54:31 AM UTC-6 xJom wrote: > So, the https://github.com/jenkinsci/plugin-installation-manager-tool > really saved my day. I went through the plugins

Can we calculate the agent element ?

2021-04-23 Thread Charles Moulliard
Hi The following Jenkins pipeline script is not working and we will get as error ERROR WorkflowScript: 20: Expected string literal @ line 20, column 11. agent checkEnvironment() ^ WorkflowScript: 20: Only "agent none", "agent any" or "agent {...}" are allowed. @ line 20,