'Check Current Spot Price' shows incorrect price for spot instance if 'AMI ID' field is empty

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi,

      Ā 

      I have started using the AMI filters instead of static AMI configuration: https://github.com/jenkinsci/ec2-plugin/pull/533/commits/759e1fd10fe8ad9881d699fca198b081c8faed74Ā and noticed thatĀ 'Check Current Spot Price' funtionality shows price for on-demand instances if 'AMI ID' is not specified.

      Ā 

      STR:

      • Configure ec2 plugin and template to use spot configuration;
      • PressĀ 'Check Current Spot Price' button and you will see the correct price
      • remove the field 'AMI ID'
      • PressĀ 'Check Current Spot Price' button one more time

      Actual Result:

      ec2-plugin shows the price for on-demand instances now...

      Ā 

      I attached the screen-shots.

            Assignee:
            FABRIZIO MANFREDI
            Reporter:
            Yevhen Null
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: