-
New Feature
-
Resolution: Duplicate
-
Major
-
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.
- duplicates
-
JENKINS-1914 parameterized builds
-
- Closed
-
- is duplicated by
-
JENKINS-1451 Allow passing properties to build
-
- Closed
-
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.