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

Cyclic jobs required, but cause issues

    Details

    • Similar Issues:

      Description

      We have a specific use case where we wait for a number of possible actions that can occur. We take care of this using cyclic jobs.

      So we can have: CheckJob1 --> CheckJob2 --> CheckJob3 --> CheckJob4 --> Back to 'CheckJob1'

      If one of the 4 jobs is successful, it triggers a number of different jobs (thanks to parametrized trigger). If not, they keep cycling.

      However, this is causing issues for us: we get Java errors in those jobs (see attachment), referring to a stackoverflow.
      I tried to limit the number of jobs that are kept (20 for each job), but that doesn't seem to work, because of the dependencies. It looks like all of the jobs are kept, instead of just the last 20.

      Currently, we can work around this by making one of the jobs call the next with wget instead of a regular trigger. However, that's not a very clean solution.

        Attachments

          Activity

          mathiasdm Mathias De Maré created issue -
          ikedam ikedam made changes -
          Field Original Value New Value
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          Hide
          ikedam ikedam added a comment -

          This cannot be done in the framework provided by Jenkins.
          You need some hacks to do that.

          Though I think your way (triggering with wget) is the best, following plugins may help you.
          https://wiki.jenkins-ci.org/display/JENKINS/FSTrigger+Plugin
          https://wiki.jenkins-ci.org/display/JENKINS/Files+Found+Trigger

          Show
          ikedam ikedam added a comment - This cannot be done in the framework provided by Jenkins. You need some hacks to do that. Though I think your way (triggering with wget) is the best, following plugins may help you. https://wiki.jenkins-ci.org/display/JENKINS/FSTrigger+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Files+Found+Trigger
          ikedam ikedam made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144014 ] JNJira + In-Review [ 190859 ]

            People

            • Assignee:
              huybrechts huybrechts
              Reporter:
              mathiasdm Mathias De Maré
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: