setami doesn't update global config file

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: ec2-plugin
    • Environment:
      Jenkins ver. 2.114

      Hi, I am using groovy script to update AMI id for my nodes at jenkins. I am using setami api to do that. From past 2 weeks I am observing some strange behavior in this api. (Executing groovy script using curl)

       

      When I do setami(some_ami_id), it updates on jenkins config page but after restarting my jenkins server, the information is lost and I am back to old AMI id. I backtraced this issue and found out, setami doesn't update /var/lib/jenkins/config.xml file. Thanks!

            Assignee:
            Francis Upton
            Reporter:
            Achal Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: