Skip to main content

Hudson Integration

The following topics will be covered:

Installing Hudson

  1. Hudson comes as a war file. Download the Hudson war file from the link

  2. Prerequisite to run Hudson: needs Java 6 or newer run-time. An internet connection will be required if you want to be able to install and auto-update plug-ins

  3. After you download Hudson.war, you can launch it by executing java -jar Hudson.war

  4. Once Hudson is running, navigate to http://localhost:8080 on your browser

  5. Select Hudson GIT Plugin from the featured Plugin

  6. Click Install and Click Finish

Prerequisites Installations

  1. Install ANT using the link, Download and install the appropriate file on your machine depending on the operating system used

  2. Please make sure to download and install GIT on the machine where Hudson is installed. Download git from the link based on your operating system

Hudson System Configuration

  1. On the main page, click Manage Hudson > Click Configure System

  2. Look for global properties, create PATH variable and provide the executable paths for JAVA and APACHE

  3. Look for GIT and provide the executable path of the git.exe file

  4. Look for the GIT plugin and provide a valid username and the user email

  5. Also, open a command prompt and run the following commands.

    git config --global user.email "you@example.com"

    git config --global user.name "Your Name"

Creating your job and creating ant task to run the scenario

  1. Click New Job

  2. Provide Job Name and select Build a free-style software job

  3. Click OK

  4. Under Source Code Management, Select Git

    If hosted by Appvance, select Git and enter "https://gitlab.com/llara/ci-plugin.git " in the Repository URL box

  5. Locate Invoke Ant in the Build options

  6. Enter UTP_Tests in the Targets box

  7. Click Advanced

  8. Enter CloudBees/build.xml or build.xml depending on where the file is located

    in the Build File box (may vary if plug-in self-hosted)

  9. Enter the following in the Properties box:

    ServerURL=<URL_To_AppvanceIQ_Server_Including_Port> Path=REPOSITORY/<pathToScenarioFileIncludingScenarioNameAndFileExtension> Username=<appvanceUserName>

    Password=<appvancePassword>

  10. Click Save

  11. Click Build Now and once the build is run successfully > Click Console Output to check the Results and the link to the Appvance IQ Results of the test run


Last updated: June 28, 2023

If you have any feedback on this topic, please contact us at documentation@appvance.ai