Evaluate Changelogic without registration!
  

Build Script Integration


If you use Changelogic version 1.x, please follow the link: Build Script Integration V-1.x


Why is build script integration needed?
Calling Changelogic script actions from the build script of your project is more convenient than specifying the Changelogic script file each time you are performing some action. As a bonus, you may define actions specific to your project to be performed before or after Changelogic events, e.g. preconditions for ending development of a change.

Calling Changelogic actions through your project build script


As the first step, you should download sample project build script from the “Supporting files” page in Changelogic (accessible from the menu opening by clicking on your name in the upper right corner). If your project is not using Apache Ant as a build tool, you may use the sample script as build script for your project; if it is, you should copy the relevant targets (see comments inside the file) into the build script of your project.


The targets from build file can be modified to include actions to be performed before or after the relevant Changelogic action; for example, the preconditions for ending development can be defined in this way.


Callback targets for integration


During integration, it is highly recommended to try building and running tests on the integrated project. These operations can be broken into multiple steps; the integrator can then either let all steps run, or intervene manually and redo/skip some steps. There should be one target in the project build script for each integration step. The targets should be described in changelogic-project.properties; see command line client configuration for more information.


Modifying changelogic-build.xml


All customizations of build script behaviour should be written into your project's build script. NEVER edit the changelogic-build.xml on your own, except when specifically instructed so by Changelogic support staff. All your changes will be lost the next time the script is upgraded from server and according to EULA terms you would not be eligible for support services.