-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: All
I would like a post build action to allow me to execute arbitrary commands
having same environment variables set that are exposed to regular build actions.
My personal use of this feature would be to programtecially some files that
appear in files in ${WORKSPACE}/../builds/${JOB_ID} directory. such as the
build number.
- duplicates
-
JENKINS-53 programmatically set build number
-
- Resolved
-
- is duplicated by
-
JENKINS-1277 add Execute shell to the Post-build Actions
-
- Closed
-
While such a plugin is certainly conceivable, and perhaps might even make sense
in some situations, but...
1. you might just as well choose "shell script" as the main build action and
then do anything there. There's no practical difference between doing
something as the main build vs as a publisher.
2. shell script will not be able to archive files if the build is done on a slave.