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

Global PTC settings not saved to JEP-200 changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: integrity-plugin
    • Labels:
    • Environment:
      Jenkins 2.110 with PTC Plugin 2.1
      Java 1.8 121
      PTC 10.9.0.9336
    • Similar Issues:

      Description

      I use Jenkins to run some scripts to gather some data from an external database. Afterwards this data needs to be updated in PTC (just some CSV files).

      After installing the PTC plugins I tried to configure it but always got a while saving the global PTC configuration. It seems there is a problem with the PEP update. After whitelisting the plugin the saving of the settings works fine. 

      Failed to save C:\_DevTools\Jenkins_TestServer\hudson.scm.IntegritySCM.xml java.lang.UnsupportedOperationException: Refusing to marshal org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource for security reasons; see https://jenkins.io/redirect/class-filter/
      

      Attached the complete warning log.

        Attachments

          Issue Links

            Activity

            Hide
            snidca Carsten Snider added a comment -

            Updated the title and description of the issue. The error came up during saving of the global settings, not during the plugin execution itself. Whitelisting solved the problem.

            Show
            snidca Carsten Snider added a comment - Updated the title and description of the issue. The error came up during saving of the global settings, not during the plugin execution itself. Whitelisting solved the problem.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Carsten Snider would you be also able to try the patch from Jesse Glick and to confirm that it also works for you?

            Show
            oleg_nenashev Oleg Nenashev added a comment - Carsten Snider would you be also able to try the patch from Jesse Glick and to confirm that it also works for you?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -
            Show
            oleg_nenashev Oleg Nenashev added a comment - The snapshot artifact is available here: https://ci.appveyor.com/project/anuragsen/integrity-plugin-mw53n/build/1.0.74/artifacts
            Hide
            snidca Carsten Snider added a comment - - edited

            Review performed. The fix worked.

            Show
            snidca Carsten Snider added a comment - - edited Review performed. The fix worked.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The fixstill needs to be released, reopening

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fixstill needs to be released, reopening
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/scm/IntegritySCM.java
            http://jenkins-ci.org/commit/integrity-plugin/ce39c29edf05843f37ab99f4cf939461e621e043
            Log:
            JENKINS-50001 Do not attempt to serialize a ConnectionPoolDataSource to hudson.scm.IntegritySCM.xml.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/scm/IntegritySCM.java http://jenkins-ci.org/commit/integrity-plugin/ce39c29edf05843f37ab99f4cf939461e621e043 Log: JENKINS-50001 Do not attempt to serialize a ConnectionPoolDataSource to hudson.scm.IntegritySCM.xml.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Anurag Sen
            Path:
            src/main/java/hudson/scm/IntegritySCM.java
            http://jenkins-ci.org/commit/integrity-plugin/a4d8e61f0359af7a9f9b64b79bc7fca05a544814
            Log:
            Merge pull request #30 from jglick/DataSource-field-JENKINS-50001

            JENKINS-50001 Do not attempt to serialize a ConnectionPoolDataSource to hudson.scm.IntegritySCM.xml

            Compare: https://github.com/jenkinsci/integrity-plugin/compare/9909ebaa2fbe...a4d8e61f0359

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Anurag Sen Path: src/main/java/hudson/scm/IntegritySCM.java http://jenkins-ci.org/commit/integrity-plugin/a4d8e61f0359af7a9f9b64b79bc7fca05a544814 Log: Merge pull request #30 from jglick/DataSource-field- JENKINS-50001 JENKINS-50001 Do not attempt to serialize a ConnectionPoolDataSource to hudson.scm.IntegritySCM.xml Compare: https://github.com/jenkinsci/integrity-plugin/compare/9909ebaa2fbe...a4d8e61f0359
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It has been released in version 2.2

            Show
            oleg_nenashev Oleg Nenashev added a comment - It has been released in version 2.2

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              snidca Carsten Snider
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: