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

Ability to have plugin look for latest / latest recommended baseline on parent stream to trigger build

      I believe this feature request belongs in the realm of this plugin.

      Right now we cannot figure out a way for us to build a project in Hudson that doesn't live on the integration stream effectively. What we would like is a way of having this plugin somehow "monitor" a parent stream based on the polling of the job. If the parent streams either latest or latest recommened (which should be an option) has changed then the plugin would initiate an cleartool rebase and run a build. We would not want this to be something parameterized where a user has to select something.

      We have mimicked this with two separate jobs within Hudson but it makes setup of projects more difficult and error prone.

      Thanks.

      -Peter

          [JENKINS-7930] Ability to have plugin look for latest / latest recommended baseline on parent stream to trigger build

          Romain Seguy added a comment -

          I understand your need as we have/had it in my company.

          Unfortunately I don't have the time right now to implement such a feature since I'm now working on building an equivalent plugin for Subversion.
          Implementing the feature you describe is not that trivial because it requires to refactor the plugin to move the checkout code from ClearCaseUcmBaselineParameterValue.createBuildWrapper() to ClearCaseUcmBaselineSCM.checkout(). Then the goal is to implement there the calcRevisionsFromBuild() and compareRemoteRevisionWith() methods.

          If you provide me with a patch, I'll review and I'll integrate it into the code.

          Romain Seguy added a comment - I understand your need as we have/had it in my company. Unfortunately I don't have the time right now to implement such a feature since I'm now working on building an equivalent plugin for Subversion. Implementing the feature you describe is not that trivial because it requires to refactor the plugin to move the checkout code from ClearCaseUcmBaselineParameterValue.createBuildWrapper() to ClearCaseUcmBaselineSCM.checkout(). Then the goal is to implement there the calcRevisionsFromBuild() and compareRemoteRevisionWith() methods. If you provide me with a patch, I'll review and I'll integrate it into the code.

          peterkline added a comment -

          Thanks for the quick response. Out of the various languages I know, Java is probably my weakest. I will see what I can do. As I said, for now we have the "two step" method which is doable but ugly.

          Thanks again.

          peterkline added a comment - Thanks for the quick response. Out of the various languages I know, Java is probably my weakest. I will see what I can do. As I said, for now we have the "two step" method which is doable but ugly. Thanks again.

            danielpetisme Daniel Petisme
            peterkline peterkline
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: