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

Ability to associate maven goals with a scheduled build

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: Macintosh, OS: Linux

      Description

      It would be good to be able to run a "nightly" build with slightly different
      goals than those I use to do continuous integration builds. As far as I can
      tell, I can use cron syntax to schedule a nightly build, but I can't tell it to
      use different goals/command-line params

        Activity

        Hide
        soerenchittka soerenchittka added a comment -

        An even more generic mechanism would be great here.
        I would like to specifiy slightly different goals in three scenarios:

        • when the build is triggered transitively (because a dependency has been build
          by hudson)
        • when the build is triggered because of changes in SCM
        • when this build is triggered by schedule (e.g. nightly)
        Show
        soerenchittka soerenchittka added a comment - An even more generic mechanism would be great here. I would like to specifiy slightly different goals in three scenarios: when the build is triggered transitively (because a dependency has been build by hudson) when the build is triggered because of changes in SCM when this build is triggered by schedule (e.g. nightly)
        Hide
        abayer abayer added a comment -

        Best bet here would be to use https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin to have a separate job that does the polling/scheduled kickoff, and then that job kicks off the real job with maven goals (or whatever) as a parameter.

        Show
        abayer abayer added a comment - Best bet here would be to use https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin to have a separate job that does the polling/scheduled kickoff, and then that job kicks off the real job with maven goals (or whatever) as a parameter.

          People

          • Assignee:
            Unassigned
            Reporter:
            jumper1 jumper1
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: