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

fstrigger plugin download didn't pull in dependency envinject

    XMLWordPrintable

Details

    Description

      just update 1.440 to 1.442 and then updated fstrigger from 0.17 to 0.18

      after restarts of jenkins attempted to add an fstrigger to an exiting job and got a stack trace complaint that envinject plugin wasn't available

      java.lang.NoClassDefFoundError: org/jenkinsci/plugins/envinject/EnvInjectAction
      at org.jenkinsci.plugins.fstrigger.service.FSTriggerEnvVarsResolver.getEnvVars(FSTriggerEnvVarsResolver.java:27)
      at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getFileInfoMaster(FolderContentTrigger.java:147)
      at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.getMd5Map(FolderContentTrigger.java:125)
      at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.refreshMemoryInfo(FolderContentTrigger.java:100)
      at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:350)
      at org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger.start(FolderContentTrigger.java:30)
      at hudson.model.AbstractProject.submit(AbstractProject.java:1713)
      at hudson.model.Project.submit(Project.java:192)
      at hudson.model.Job.doConfigSubmit(Job.java:977)

      should fstrigger update automatically pulled in dependency envinject or ????

      Attachments

        Activity

          Fixed in 0.19

          gbois Gregory Boissinot added a comment - Fixed in 0.19

          The exception still occurs on Jenkins 1.444 with FS Trigger plugin 0.19 and EnvInject plugin 1.1.

          java.lang.NoClassDefFoundError: org/jenkinsci/plugins/envinject/EnvInjectAction
          at org.jenkinsci.lib.xtrigger.service.XTriggerEnvVarsResolver.getEnvVars(XTriggerEnvVarsResolver.java:29)
          at org.jenkinsci.plugins.fstrigger.service.FSTriggerComputeFileService.computeFileOnMaster(FSTriggerComputeFileService.java:55)
          at org.jenkinsci.plugins.fstrigger.service.FSTriggerComputeFileService.computedFile(FSTriggerComputeFileService.java:47)
          at org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.start(FileNameTrigger.java:73)
          at org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.start(FileNameTrigger.java:41)
          at hudson.model.AbstractProject.submit(AbstractProject.java:1710)
          at hudson.model.Project.submit(Project.java:192)
          at hudson.model.Job.doConfigSubmit(Job.java:977)

          fastblitzer Christian Gnüchtel added a comment - The exception still occurs on Jenkins 1.444 with FS Trigger plugin 0.19 and EnvInject plugin 1.1. java.lang.NoClassDefFoundError: org/jenkinsci/plugins/envinject/EnvInjectAction at org.jenkinsci.lib.xtrigger.service.XTriggerEnvVarsResolver.getEnvVars(XTriggerEnvVarsResolver.java:29) at org.jenkinsci.plugins.fstrigger.service.FSTriggerComputeFileService.computeFileOnMaster(FSTriggerComputeFileService.java:55) at org.jenkinsci.plugins.fstrigger.service.FSTriggerComputeFileService.computedFile(FSTriggerComputeFileService.java:47) at org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.start(FileNameTrigger.java:73) at org.jenkinsci.plugins.fstrigger.triggers.FileNameTrigger.start(FileNameTrigger.java:41) at hudson.model.AbstractProject.submit(AbstractProject.java:1710) at hudson.model.Project.submit(Project.java:192) at hudson.model.Job.doConfigSubmit(Job.java:977)
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Path: pom.xml http://jenkins-ci.org/commit/fstrigger-plugin/7ff6fb38ae6a3038ba8dd42dad1ae7bc12706280 Log: Fix JENKINS-12073

          The bug was due to a classloader issue with the dependencies of Jenkins plugins.
          Release 0.20 should fix the bug.

          gbois Gregory Boissinot added a comment - The bug was due to a classloader issue with the dependencies of Jenkins plugins. Release 0.20 should fix the bug.

          People

            gbois Gregory Boissinot
            moncreaff Greg Moncreaff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: