ingenieux / awseb-deployment-plugin

Jenkins Plugin for AWS Elastic Beanstalk
Apache License 2.0
29 stars 53 forks source link

Settings lost after upgrade to 0.3.20 #98

Open jontro opened 4 years ago

jontro commented 4 years ago

After upgrading to 0.3.20 all the settings configured were lost automatically.

I received the following warning in jenkins monitor:

MissingFieldException: No field 'credentialId' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'awsRegion' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'applicationName' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'environmentName' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'bucketName' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'keyPrefix' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'versionLabelFormat' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'rootObject' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'includes' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'excludes' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'zeroDowntime' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'sleepTime' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'checkHealth' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder', MissingFieldException: No field 'maxAttempts' found in class 'br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder'

jontro commented 4 years ago

Looks like and extra element has been added in the xml as a direct child to the plugin.

abrcdf1023 commented 4 years ago

The same here my working version is v0.3.19 if update to v0.3.21 all project config will lost.