I'd like to request adding an option the the Perforce: Unshelve build step to fail the build if the unshelve changelist does not exist.
Perhaps a checkbox with "Fail build if unshelve changelist does not exist"
Currently the console output looks like this when unshelving using a shelve list that does not exists.
p4 unshelve -f -s252595 -cdefault
No such file(s).
For our workflow it would be an error for the build to pass if there were no shelved files.
Hi totsubo,
I just tried this with a basic Freestyle job and it does fail the build:
P4 Task: unshelve review: 999999 ... p4 unshelve -f -s999999 -cdefault + P4JAVA: Change 999999 unknown. P4 Task: attempt: 1 Build step 'Perforce: Unshelve' marked build as failure Finished: FAILURE
Therefore please can you provide more context:
Thanks in advance,
Karl