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

Null pointer exception when using groovy script

    Details

    • Similar Issues:

      Description

      When I try to use the deleteRemoteArtifactsByScript feature, I get a NULL pointer exception when trying to apply my changes to the config.

      The JSON parser exits with NULL.

      Looking at the source on GitHub I think this is because in
      https://github.com/jenkinsci/artifactdeployer-plugin/blob/master/src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java#L282

      you are using a Name that does not exist. I guess it should be "deleteRemoteArtifactsByScript", right?

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              tabascoeye Fabian Koch
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: