rundeck-cli icon indicating copy to clipboard operation
rundeck-cli copied to clipboard

`--require` no longer treats 0 query results as failure

Open shamil opened this issue 2 years ago • 1 comments

When I run command like

rd executions deletebulk -R -y -m 20 --older 1d -p TestProject

It would return 2 if no results, and 0 if there are resutlts. In 2.x it always returns 0 now

shamil avatar Jul 21 '22 13:07 shamil

Just ran into the same issue. Looks like this stopped working in 2.0.0, possibly somewhere in the changes in Executions.java here?

Rolling back to 1.4.3 restores the previous functionality for the time being

jplindquist avatar Oct 13 '22 16:10 jplindquist