Automating DITA to WebHelp Output with JenkinsEdit online
To integrate WebHelp output with the Jenkins continuous integration tool, follow these steps:
- Create a Maven project to incorporate the DITA-OT that already integrates Oxygen XML Editor plugin.
- Go to the root of your Maven project and edit the pom.xml file to
include the following
fragment:
<properties> <oxygen-webhelp>${basedir}/tools/DITA-OT2.5.2/ plugins/com.oxygenxml.webhelp.responsive</oxygen-webhelp> </properties> <plugin> <artifactId>exec-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId> <executions> <execution><!-- Run our version calculation script --> <id>Version Calculation</id> <phase>generate-sources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>${oxygen-webhelp}/ditaWebhelp.bat</executable> </configuration> </execution> </executions> </plugin>Note: In the fragment above it is assumed that you are using DITA-OT version 2.5.4. If you are using another version, adjust the path accordingly. - Go to the Jenkins top page and create a new Jenkins job. Configure this job to suit your particular requirements, such as the build frequency and location of the Maven project.