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

S3 Plugin Refusing to marshal com.amazonaws.regions.Region

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The S3 plugin v0.10.12 settings are lost every time Jenkins restarts. Looking at the logs I find the following errors:

       

      My S3 region is eu-west-2

       

      The following messages are found in the logs:

      com.amazonaws.regions.Region in file:/var/lib/jenkins/plugins/aws-java-sdk/WEB-INF/lib/aws-java-sdk-core-1.11.264.jar might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/
      
      Feb 05, 2018 11:26:25 AM WARNING hudson.model.Descriptor save
      Failed to save /var/lib/jenkins/hudson.plugins.s3.S3BucketPublisher.xml
      java.lang.UnsupportedOperationException: Refusing to marshal com.amazonaws.regions.Region for security reasons; see https://jenkins.io/redirect/class-filter/

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Confirmed. The plugin needs a major cleanup

          Show
          oleg_nenashev Oleg Nenashev added a comment - Confirmed. The plugin needs a major cleanup
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Created https://github.com/jenkinsci/s3-plugin/pull/112. It would be great if you could try the snapshot build and report results

          Show
          oleg_nenashev Oleg Nenashev added a comment - Created https://github.com/jenkinsci/s3-plugin/pull/112 . It would be great if you could try the snapshot build and report results
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/resources/hudson/plugins/s3/Entry/config.jelly
          src/main/resources/hudson/plugins/s3/MetadataPair/config.jelly
          src/main/resources/hudson/plugins/s3/S3ArtifactsProjectAction/jobMain.jelly
          src/main/resources/hudson/plugins/s3/S3BucketPublisher/config.jelly
          src/main/resources/hudson/plugins/s3/S3BucketPublisher/global.jelly
          src/main/resources/index.jelly
          http://jenkins-ci.org/commit/s3-plugin/ede450062af1e4bfdb474cf6ede972a7811ba2b5
          Log:
          JENKINS-49371 - Update Plugin POM and use Jenkins core 1.625.3 as a baseline

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/resources/hudson/plugins/s3/Entry/config.jelly src/main/resources/hudson/plugins/s3/MetadataPair/config.jelly src/main/resources/hudson/plugins/s3/S3ArtifactsProjectAction/jobMain.jelly src/main/resources/hudson/plugins/s3/S3BucketPublisher/config.jelly src/main/resources/hudson/plugins/s3/S3BucketPublisher/global.jelly src/main/resources/index.jelly http://jenkins-ci.org/commit/s3-plugin/ede450062af1e4bfdb474cf6ede972a7811ba2b5 Log: JENKINS-49371 - Update Plugin POM and use Jenkins core 1.625.3 as a baseline
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/resources/META-INF/hudson.remoting.ClassFilter
          http://jenkins-ci.org/commit/s3-plugin/ca2cb665dbfab08ed209c8a3a3a7e2fa60f1c23b
          Log:
          JENKINS-49371 - Whitelist model classes in the S3 Publisher global config

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/resources/META-INF/hudson.remoting.ClassFilter http://jenkins-ci.org/commit/s3-plugin/ca2cb665dbfab08ed209c8a3a3a7e2fa60f1c23b Log: JENKINS-49371 - Whitelist model classes in the S3 Publisher global config
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          Jenkinsfile
          http://jenkins-ci.org/commit/s3-plugin/fc706474d09eb44030e4974b560db22517fef008
          Log:
          JENKINS-49371 - Run build against the new cores, linux-only

          Compare: https://github.com/jenkinsci/s3-plugin/compare/32a092a60750...fc706474d09e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: Jenkinsfile http://jenkins-ci.org/commit/s3-plugin/fc706474d09eb44030e4974b560db22517fef008 Log: JENKINS-49371 - Run build against the new cores, linux-only Compare: https://github.com/jenkinsci/s3-plugin/compare/32a092a60750...fc706474d09e
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          The issue has been fixed in 0.11.0. Kudos to Alexander A for the release!

          Show
          oleg_nenashev Oleg Nenashev added a comment - The issue has been fixed in 0.11.0. Kudos to Alexander A for the release!

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            ebiali Ali L
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: