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

Builds launched programmatically via Queue.schedule() fail with error

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • envinject-plugin
    • None
    • Jenkins 1.486
      Plugin 1.72
      Solaris

      Builds launched programmatically via Queue.schedule() fail with error

      2012-10-23 22:39:15 | Started
      2012-10-23 22:39:15 | [EnvInject] - Loading node environment variables.
      2012-10-23 22:39:15 | [EnvInject] - [ERROR] - SEVERE ERROR occurs: null
      2012-10-23 22:39:15 | Finished: FAILURE

      This happens on every job regardless if EnvInject is turned on

          [JENKINS-15611] Builds launched programmatically via Queue.schedule() fail with error

          Roland Gruber added a comment -

          Any news on this one or any workaround? This makes the plugin useless for us because jobs fail even if EnvInject is not enabled for them.

          Roland Gruber added a comment - Any news on this one or any workaround? This makes the plugin useless for us because jobs fail even if EnvInject is not enabled for them.

          I'm sorry for my late reply.
          I don't know why you have this error. Could you test for now with the latest version?
          Do you have any excpetion stack traces in the Jenkins log?

          Gregory Boissinot added a comment - I'm sorry for my late reply. I don't know why you have this error. Could you test for now with the latest version? Do you have any excpetion stack traces in the Jenkins log?

          Roland Gruber added a comment -

          We already use version 1.85. Unfortunately, there is no stack trace in Jenkins log or build output.

          This is the build output:

          Started
          [EnvInject] - Loading node environment variables.
          [EnvInject] - [ERROR] - SEVERE ERROR occurs: null
          Finished: FAILURE

          We start the build by our own plugin like this: Jenkins.getInstance().getQueue().schedule(job, job.getDelay(req), parametersAction);
          parametersAction is a new object that only contains our own parameters. Do you depend on any values in this object?

          Roland Gruber added a comment - We already use version 1.85. Unfortunately, there is no stack trace in Jenkins log or build output. This is the build output: Started [EnvInject] - Loading node environment variables. [EnvInject] - [ERROR] - SEVERE ERROR occurs: null Finished: FAILURE We start the build by our own plugin like this: Jenkins.getInstance().getQueue().schedule(job, job.getDelay(req), parametersAction); parametersAction is a new object that only contains our own parameters. Do you depend on any values in this object?

            gbois Gregory Boissinot
            jmaxwell Jeff Maxwell
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: