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

BuildResultTrigger Plug-in not triggering job

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Labels:
      None
    • Environment:
      Linux, 2.6.26-amd64
      debian_version 5.0.6
      Jenkins BuildResultTrigger Plug-in 0.4
      Jenkins ver. 1.440

      Description

      Jenkins with the buildResultTrigger plugin is unable to trigger a job

      Two jobs are setup,
      1. TEST-TRIGGER is a basic job that always passes
      (from jenkins log)
      INFO | jvm 2 | 2012/01/17 10:47:31 | 17/01/2012 10:47:31 AM hudson.model.Run run
      INFO | jvm 2 | 2012/01/17 10:47:31 | INFO: TEST-Trigger #7 main build action completed: SUCCESS

      2. TEST-TRY is a basic job configured to Monitor build results of TEST-Trigger. This job is able to run with success when trigger manually
      (from jenkins log)
      INFO | jvm 2 | 2012/01/17 10:48:51 | 17/01/2012 10:48:51 AM hudson.model.Run run
      INFO | jvm 2 | 2012/01/17 10:48:51 | INFO: TEST-TRY #2 main build action completed: SUCCESS

      However, a success result from TEST-TRIGGER does not fire the TEST-TRY job.
      Both jobs configurations are attached

      1. TEST-Trigger.config.xml
        0.9 kB
        S P
      2. TEST-TRY.config.xml
        1 kB
        S P
      3. TEST-TRY.config-2.xml
        2 kB
        S P

        Issue Links

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          Any update?
          Thanks

          Show
          gbois Gregory Boissinot added a comment - Any update? Thanks
          Hide
          sp S P added a comment -

          Sorry for the delay.
          Yes I ran it again with a cron of 1 min, and no change.
          The jobs don't actually do anything, by that I mean they don't have any code they compile or tests they run, they are just empty jobs but they do finish with success. Do you think that could be the issue?
          Are you running the same job configs?
          We do have a bunch of other plugins in our jenkins. I wonder if something is interfering.

          Show
          sp S P added a comment - Sorry for the delay. Yes I ran it again with a cron of 1 min, and no change. The jobs don't actually do anything, by that I mean they don't have any code they compile or tests they run, they are just empty jobs but they do finish with success. Do you think that could be the issue? Are you running the same job configs? We do have a bunch of other plugins in our jenkins. I wonder if something is interfering.
          Hide
          gbois Gregory Boissinot added a comment -

          According your configuration files, you have to follow these rules:

          • You can't monitor the job itself
          • You have to add at least one result (SUCCESS, ....)

          And with these constraints, it's OK in my environment.

          Show
          gbois Gregory Boissinot added a comment - According your configuration files, you have to follow these rules: You can't monitor the job itself You have to add at least one result (SUCCESS, ....) And with these constraints, it's OK in my environment.
          Hide
          gbois Gregory Boissinot added a comment -

          Does it suit you?

          Show
          gbois Gregory Boissinot added a comment - Does it suit you?
          Hide
          sp S P added a comment -

          Yes, those rules you mention are fine for what I'm trying to do.
          I can't figure out why it isn't working for us and I don't know where else to look.
          I'll close the issue and try to work on it again another day.
          Thanks for your time

          Show
          sp S P added a comment - Yes, those rules you mention are fine for what I'm trying to do. I can't figure out why it isn't working for us and I don't know where else to look. I'll close the issue and try to work on it again another day. Thanks for your time

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              sp S P
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: