Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50523

setami doesn't update global config file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • ec2-plugin
    • 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!

            francisu Francis Upton
            achalshah20 Achal Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: