We have couple of scripts running on solaris 10.x via Jenkins- 1.549
using plugin hudson postbuild task plugin 1.8.
Our shell scripts used to delete folders as part of deployment process before shellshock patch was applied.
After shellshock patch is applied rm command is not working through Jenkins plugin.
returns exit code 2, for rm command.
same scripts when ran on shell window directly works fine.
rmdir command works.
we are trying to use mv command and add addition cron to clean up those temp folders.
Looks like no development is going on hudson postbuild task plugin 1.8.
It definitely needs some fixes to validate shellshock patches.