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

Build one changeset at a time

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Provide a possibility to build every changeset, one at a time.

      The proposed implementation concept:
      Add a checkbox in advanced plugin configuration to build next changeset after the one that have been previously built. Then if it is ticked, perforce plugin could calculate the next changeset after the one used in last build, and check out that one instead.
      That would mean there is also a need for catchup solution for bigger projects, but for small and average frequent pooling should be enough.

      This would be very useful when you need to build all changesets to e.g. detect who broke the build.

        Attachments

          Activity

          Hide
          jarek Jarek Kapica added a comment -

          I have created a patch that implements this feature.
          Can it be included in upstream release?

          Show
          jarek Jarek Kapica added a comment - I have created a patch that implements this feature. Can it be included in upstream release?
          Hide
          jarek Jarek Kapica added a comment -

          Sorry for the multiple patches, I'm new to this. Please try the most recent one.

          Show
          jarek Jarek Kapica added a comment - Sorry for the multiple patches, I'm new to this. Please try the most recent one.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Could you create a pull request on GitHub?
          BTW, I'm not sure that this feature is related to P4 plugin.
          In my opinion, it should be implemented as an external generalized plugin (it may require modification of Jenkins core).

          Show
          oleg_nenashev Oleg Nenashev added a comment - Could you create a pull request on GitHub? BTW, I'm not sure that this feature is related to P4 plugin. In my opinion, it should be implemented as an external generalized plugin (it may require modification of Jenkins core).
          Hide
          jarek Jarek Kapica added a comment -

          Thanks for suggestion. The pull request:
          https://github.com/jenkinsci/perforce-plugin/pull/38

          Show
          jarek Jarek Kapica added a comment - Thanks for suggestion. The pull request: https://github.com/jenkinsci/perforce-plugin/pull/38
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Rob Petti
          Path:
          src/main/java/hudson/plugins/perforce/PerforceSCM.java
          http://jenkins-ci.org/commit/perforce-plugin/f5c430c438bbd54298e7c05d4ac1c8ad56a65c17
          Log:
          [FIXED JENKINS-17889] added P4ONECHANGELIST property to allow sequential building of changes

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rob Petti Path: src/main/java/hudson/plugins/perforce/PerforceSCM.java http://jenkins-ci.org/commit/perforce-plugin/f5c430c438bbd54298e7c05d4ac1c8ad56a65c17 Log: [FIXED JENKINS-17889] added P4ONECHANGELIST property to allow sequential building of changes

            People

            • Assignee:
              Unassigned
              Reporter:
              jarek Jarek Kapica
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: