Automatically import sample job while launching hpi:run

18 views
Skip to first unread message

Paul Wellner Bou

unread,
Sep 25, 2015, 5:53:55 AM9/25/15
to Jenkins Developers
Hello,

I am developing a plugin, and for testing purposes I would like to create an example Job on launching mvn hpi:run. Is this possible, and what would be the best way to do this?

Thank you and best regards
Paul Wellner Bou

Jesse Glick

unread,
Sep 25, 2015, 1:24:42 PM9/25/15
to Jenkins Dev
On Fri, Sep 25, 2015 at 5:53 AM, Paul Wellner Bou <pa...@wellnerbou.de> wrote:
> for testing purposes I would like to create an example Job on launching mvn hpi:run. Is this possible

Not that I know of.

If this is for your personal test purposes, just create it
interactively. No need to share. The `work/` subdirectory is
unaffected by `mvn clean`.

If you want to write an automated test, use
`JenkinsRule.createProject`, or you can use the
`acceptance-test-harness`.
Reply all
Reply to author
Forward
0 new messages