Jenkins BuildResultTrigger doesn't seem to work

I can’t understand why my work is not called at night. Jenkins has 2 predefined tasks designed to work as follows.

Work 1: Data Verification

It works every hour, checking if the data is compatible.

Work 2: MoveDataToProduction

Every day at 8 p.m. transfers data to production until the last DataCheck job has passed

I am using BuildResultTrigger in MoveDataToProduction , with a task to monitor a DataCheck . The result of the assembly tasks SUCCESS . Schedule H 20 * * *.

Now I see that the BuildResultTrigger starts the check at 8 pm, but even if the last DataCheck job completed successfully, MoveDataToProduction does not start. Here is all that I see:

Polling started on Nov 19, 2014 8:00:00 PM
Polling for the job MoveDataToProduction
Recording context. Check changes in next poll.

Polling complete. Took 0 ms.
No changes.

Will there be SUCCESS Data Validation only if it has changed from a failure state or something else? Ideally, my DataCheck will never fail, but I still want MoveDataToProduction to start.

+4
source share

All Articles