jenkinsci/ec2-plugin — pull request #57 by eucacolby (2013-07-11 16:49:32+00:00)
Title: Support AWS / Eucalyptus hybrid cloud

Final fix was to protect the static method EC2Cloud.connect(...).

Key problem was that BasicAWSCredentials got called twice with the same accessId, secretKey. Which meant that both Clouds were bound to the same AmazonEC2 client configuration. And naturally, you can't use the same credentials for both clouds.