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

pass arguments to the build url to change build behaviour

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      I think it could be useful sometimes to be able to change the build behaviour a
      bit depending on the conditions.

      for example, if no java file was touch in the last revision (like the last
      revision was web-design only) then there's no need to rebuild the java doc.
      Factory behaviour adapatation can be very useful for big projects which require
      like an hour to build.

          [JENKINS-56] pass arguments to the build url to change build behaviour

          Note that multiple build triggers can be combined into one build, so something
          like this is bit tricky to do right.

          I think a better approach is to allow the script inside to check dates. It has
          access to:

          1) all the timestamps of the source files
          2) the timestamp of the build

          (or if those are not suffice / easy-to-process, then we can make the changelogs
          available)

          Then the build script can take advantage of the information to choose what to build.

          Kohsuke Kawaguchi added a comment - Note that multiple build triggers can be combined into one build, so something like this is bit tricky to do right. I think a better approach is to allow the script inside to check dates. It has access to: 1) all the timestamps of the source files 2) the timestamp of the build (or if those are not suffice / easy-to-process, then we can make the changelogs available) Then the build script can take advantage of the information to choose what to build.

              • Issue 1451 has been marked as a duplicate of this issue. ***

          Kohsuke Kawaguchi added a comment - Issue 1451 has been marked as a duplicate of this issue. ***

          mdonohue added a comment -

          This was fixed by issue 1914, and first appeared in Hudson 1.237

              • This issue has been marked as a duplicate of 1914 ***

          mdonohue added a comment - This was fixed by issue 1914, and first appeared in Hudson 1.237 This issue has been marked as a duplicate of 1914 ***

            Unassigned Unassigned
            al_xipe al_xipe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: