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. 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! |