You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a job that runs tests (could be unit-tests, or a vulnerability scanner, you name it) of which I want to publish the resulting report.
When this job runs, and we get to the publish step, there are 3 possible options:
The tests have run successfully. The report should be published
The tests have run but failed. The report should be published
A step somewhere before the test-running step has failed. Thus the tests have not run. There is no report to publish and thus this publish step should not run.
What is your advice/pattern in this (imo) pretty normal usecase? Or am I mistaken and is this not a normal usecase / am I using the tool wrong?
I would have expected to be able to use a condition to refer to the specific test-step, and to only run the publish-step when this test-step has been run.
Or even better, to be able to check in the condition if the report exists.
As far as I understand it, both of these options are not possible.
I'd be happy to hear what your suggested approach is here.
The text was updated successfully, but these errors were encountered:
I would have expected to be able to use a condition to refer to the specific test-step, and to only run the publish-step when this test-step has been run.
I have the following usecase:
I have a job that runs tests (could be unit-tests, or a vulnerability scanner, you name it) of which I want to publish the resulting report.
When this job runs, and we get to the publish step, there are 3 possible options:
What is your advice/pattern in this (imo) pretty normal usecase? Or am I mistaken and is this not a normal usecase / am I using the tool wrong?
I would have expected to be able to use a condition to refer to the specific test-step, and to only run the publish-step when this test-step has been run.
Or even better, to be able to check in the condition if the report exists.
As far as I understand it, both of these options are not possible.
I'd be happy to hear what your suggested approach is here.
The text was updated successfully, but these errors were encountered: