Daniel Beck commented on Bug JENKINS-25848

If Apple uses modified utils, their sources are on opensource.apple.com. For nohup, it's here (newest version):
http://www.opensource.apple.com/source/shell_cmds/shell_cmds-179/nohup/nohup.c

It's an error in _vprocmgr_detach_from_console which indicates the mode of installation and running Jenkins may indeed be relevant, as I know it in the context of disconnecting a process from a user session (see e.g. explanation https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard).

When installing Jenkins via installer on a virtual machine with OS X 10.7, and installing Workflow Aggregator with dependencies, the job just stops after

[workspace}Running shell script
10.7 is ancient, but it appears there's something wrong with using nohup this way. In fact, if I run a shell script with e.g. nohup find / -L -type l, I get:

Started by user anonymous
Building in workspace /Users/Shared/Jenkins/Home/jobs/nohup/workspace
[workspace] $ /bin/sh -xe /var/folders/rj/xt96v6dd5ls7v94142grnvn400007b/T/hudson3605439247319045393.sh
+ nohup find / -L -type l
nohup: can't detach from console: Inappropriate ioctl for device
Build step 'Execute shell' marked build as failure
Finished: FAILURE
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to