jenkinsci / jenkinsci/postbuild-task-plugin

[JENKINS-25301] rm does not work with shellshock patch

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
component:postbuild-task-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
8
Forks
19
Avg merge
38m
Merged PRs (30d)
1

Description

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.

---
Originally reported by mukundarao, imported from: rm does not work with shellshock patch


  • assignee: tspengler
  • status: Open
  • priority: Major
  • component(s): postbuild-task-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251223-222157

Raw content of original issue

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.