Schedule trigger and snapshot dependency


I got 2 separate configurations: "package", "deploy". "package" runs on every VCS commit many times a day, sometimes it fails. "deploy" should run on a schedule, I want to deploy a snapshot version (to maven) at midnight every day but TC should take a "last successful" "package" revision from VCS. It should not trigger "package" configuration.

As far as I get this, I need both "Schedule triger" and "Snaphot dependency" configured for "deploy", correct ? In "Schedule trigger" I need to configure only the time (midnight). In "Snapshot dependency" I need to check both "Do not run new build if there is a suitable one" and "Only use successful builds from suitable ones". The problem is that this set up triggers "package" configuration anyway.

Please sign in to leave a comment.