Allows Jenkins to request version information and trigger a build on an application in BuildMaster (http://inedo.com/buildmaster) as part of a Jenkins build process.
The plugin is built using Gradle and the Gradle Jenkins JPI Plugin. The code base includes the Gradle Wrapper, which will automatically download the correct version of Gradle.
Gradle can be run from the command line or from your IDE:
From the command line, cd
to the folder containing a copy of this project, and run
./gradlew clean jpi
on Unix-based systems, or
gradlew clean jpi
on Windows.
gradlew -Dhttp.proxyHost=yourProxy -Dhttp.proxyPort=yourPort -Dhttp.proxyUser=yourUsername -Dhttp.proxyPassword=yourPassword -Dhttps.proxyHost=yourProxy -Dhttps.proxyPort=yourPort -Dhttps.proxyUser=yourUsername -Dhttps.proxyPassword=yourPassword clean jpi
from behind a proxy.It is vital that any tasks come after the proxy configuration.
This will download the required dependencies, clean the existing project, recompile all source code and build the jpi file required by jenkins.
For Eclipse and NetBeans, you will need to install a Gradle plugin to your IDE before importing the project. See Gradle tooling for details.
On importing the project to your IDE, the required dependencies will be downloaded.
To spin up a Jenkins instance with this plugin installed for manual testing, run gradlew clean server
(see "building the plugin" above). The Jenkins instance will be available on port 8080 on your localhost.
The plugin has a lot of help that you can access while using Jenkins, but as a brief overview:
Before using the plugin in a job you will need to go to the global configurn section at configure how the plugin will find your BuildMaster instance.
Within your Job optionally add a build step to select the BuildMaster application and set the release number and build number that you wish to trigger the build for.
Add the trigger build step. If you haven't used the "Select BuildMaster Application" action then you will need to go into the advanced section and set the application id, release and build number details.