-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
Hudson v1.348 and Hudson Amazon EC2 plugin v1.6
the Amazon EC2 Plugin requires root access - either by ssh'ing to to root or requiring the non-root user to have sudo. Our slave AMI's are designed to use the user "hudson" - no root access is required for the slave to do it's work.
The solution here is to use the "Remote user" dir if no "Root command prefix" is given (rather than assuming root).
Thanks!
One annoying effect of this bug is that non-EC2 machines have a different environment than EC2 instances due to being root.
The patch fixes this issue by only re-connecting as root if "root Command Prefix" is specified in the configuration, else it returns SAMEUSER.