Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 1.9

...

Table of Contents

Description

Excerpt

This plugin adds Apache Ant support to Jenkins.

This functionality used to be a part of the core, but as of Jenkins 1.431, it was split off into separate plugins.

...

  • Ant Version: Ant Installation to use. See previous section.
  • Targets: Ant targets to invoke. If left blank, default target will be invoked.
  • Build File: Build file to use. If left blank, plugin will look for build.xml in the root directory.
  • Properties: Additional parameters (typical properties file format) to pass to the build. They are passed like -D(name)=(value)
  • Java Options: Custom ANT_OPS.

 


An example of using the Ant task inside Pipeline DSL. This code snippet must be put inside a step block when using the declarative syntax.

...

    } else {
bat "ant mytarget"
}
}

Change Log

Version 1.9 (2018-10-29)

  • Jira
    serverJenkins JIRA
    serverIddd058dce-0c66-3b77-8b09-71b1d7728747
    keyJENKINS-54133
    as applied to Ant console notes.
  • Jira
    serverJenkins JIRA
    serverIddd058dce-0c66-3b77-8b09-71b1d7728747
    keyJENKINS-52139

Version 1.8 (Jan 22, 2018)

...