×
Find plugins

Ant In Workspace1.0.0Minimum Jenkins requirement: 1.609.3ID: ant-in-workspace

Installs: 239
Last released: 3 months ago
Maintainers
Stephan Watermeyer

Plugin Information

Plugin ID

ant-in-workspace

Changes

In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core
Dependencies

1.0.0 (archives)
Aug 16, 2017
1.609.3
ant (version:1.4)

Source Code
Issue Tracking
Pull Requests
Maintainer(s)

GitHub
Open Issues
Pull Requests
Stephan Watermeyer (id: phreakadelle)

Usage

Installations

2017-Mar 46
2017-Apr 113
2017-May 150
2017-Jun 187
2017-Jul 196
2017-Aug 221
2017-Sep 240
2017-Oct 239

Allows users to configure an ANT based build that utilizes an Ant that is located in the workspace.

What is this?

This Plugin extends the official Jenkins Ant Plugin. It provides a new Builder based on Ant that has disabled the functionality to choose between different Ant versions. But it will allow to use an Ant version that is available in the workspace.

This is to allow (legacy) builds to use a special Ant that is checked into the SCM. When building the Job this special Ant version is returned and file-permissions (+x) are set. It is possible to configure the path to Ant in a global AntInWorkspace parameter or a per-Job parameter.

Example

We are using this because we are using a special/patched Ant version for building our software. This Ant is checked-in into the SCM and so we have to check it out, make it executable (on Unix) and use it to build the software. As our software is used in multiple customer projects, there is an option to define the path to the Ant installation on a per-Job level or globally in Jenkins.

Configuration Example

Project Configuration - Path per Job

Project Configuration - Ant Plugin vs. Ant-In-Workspace Plugin

Default Ant-Plugin lets you choose between various Ant versions. Ant-In-Workspace Plugin will choose either the globally configured Ant or the project wise configured one.

Global Configuration

Configuring the global Path.

Authors

Stephan Watermeyer

License

Licensed  under the MIT License (MIT).

ArchivesGet past versions
Labels
This plugin has no labels