[JIRA] (JENKINS-59589) ec2-plugin: support custom URL

2 views
Skip to first unread message

chris.reffett@maxar.com (JIRA)

unread,
Sep 30, 2019, 3:17:02 PM9/30/19
to jenkinsc...@googlegroups.com
Chris Reffett created an issue
 
Jenkins / Improvement JENKINS-59589
ec2-plugin: support custom URL
Issue Type: Improvement Improvement
Assignee: FABRIZIO MANFREDI
Components: ec2-plugin
Created: 2019-09-30 19:16
Environment: ec2-plugin 1.45
Priority: Minor Minor
Reporter: Chris Reffett

ec2-plugin currently assumes that the AWS URL will be of the format "ec2.(region).amazonaws.com," but there are cases (such as C2S) where the URL will end with something other than amazonaws.com. It would be useful if AmazonEC2Cloud.java were modified to make that a configurable value, defaulting to amazonaws.com. Currently, the EC2 code does not work at all in these situations; the regions never get listed and attempts to launch instances fail to execute.

 

Also, found while looking at this - it appears that getS3EndpointURL has the URL order wrong; it does (region).s3 instead of s3.(region).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages