Hudson Integration
Legacy
The following topics will be covered:
Installing Hudson
Integration
Creating a Job and an Ant Task to run the Scenario
Installing Hudson
Hudson integration content is retained onlycomes as a legacywar reference.file. NewDownload CI/CDthe workHudson shouldwar usefile currentfrom Jenkins,the GitHublink
Prerequisite to run Hudson: needs Java 6 or supportednewer command-line/APIrun-time. integrations.
Wheninternet connection will be required if you want to usebe this guidance
You are maintaining an old environment that still references Hudson.You needable tomigrate historical CI jobs to a supported CI/CD tool.You are deciding whether to archive or consolidate older integration content.
Recommended approach
Inventory any Hudson jobs that still trigger AIQ tests.Capture job parameters, credentials, triggers,install andreportauto-updatelocations.plug-ins
Note:After you download Hudson.war, you can launch it by executing java -jar Hudson.war
Once Hudson is obsoleterunning, navigate to http://localhost:8080 on your browser
Select Hudson GIT Plugin from the featured Plugin
Click Install and Click Finish
Prerequisites Installations
Install ANT using the link, Download and install the appropriate file on your machine depending on the operating system used
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
On the main page, click Manage Hudson > Click Configure System
Look for currentglobal AIQproperties, documentation.create PreferPATH Jenkinsvariable and provide the executable paths for JAVA and APACHE
Look for GIT and provide the executable path of the git.exe file
Look for the GIT plugin and provide a valid username and the user email
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
Click New Job
Provide Job Name and select Build a free-style software job
Click OK
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
Locate Invoke Ant in the Build options
Enter UTP_Tests in the Targets box
Click Advanced
Enter CloudBees/build.xml or anotherbuild.xml supporteddepending CI/CDon platform.where the file is located
in the Build File box (may vary if plug-in self-hosted)
Enter the following in the Properties box:
ServerURL=<URL_To_AppvanceIQ_Server_Including_Port> Path=REPOSITORY/<pathToScenarioFileIncludingScenarioNameAndFileExtension> Username=<appvanceUserName>
Password=<appvancePassword>
Click Save
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: SeptemberJune 21,28, 20262023
If you have any feedback on this topic, please contact us at documentation@appvance.ai