Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
We have splitted some projects from one single job (doing build/test/analyse) to two jobs (one only for build and second one for test/analyse). The first job polls scm every 10 minutes, the second one polls scm at midnight.
Now we defined a svn post-commit hook for CI, so we don't have to poll every 10 minutes for changes. This is fine for the first job, but the second one now starts too (because 'Poll SCM' is checked). For now it is not possible to define a job, that polls scm due a cron-definition and another one that is triggered by post-commit hook.
It would be nice to have an additional option like "ignore post-commit hook". So 'Poll SCM' could be checked and triggered by cron-definition and not by post-commit.
Attachments
Issue Links
- is blocking
-
JENKINS-15961 Add "ignore Push notification" option
-
- Closed
-
1) this doesn't change anything. if I bind job2 to job1, job2 builds right after job1...
2) first job starts building by a scm postcommithook (push), no cronjob needed.
IMO 'Poll SCM' and 'postcommithook (push)' are different triggers. Currently you are not able to have different Builds (based on same scm repository) but one triggered by postcommithook (push), the other by poll.
Example:
Job1:
So every time a user checks something into scm, foobarproject builds, skipping the (time consuming) tests
Job2:
So at 23:00 -> tests of foobarproject but only if something checked in (since last run)