Jenkins
- Jenkins
- Jenkins Configuration
- Jenkins File Reference for AIQ Integrations
- Required File Changes for AIQ Integrations
- Creating First Jenkins Project
- Run AIQ Scenarios from Jenkins with Ant
- Configure ant to run Blueprints from Jenkins
- Configure a Parameterized Jenkins Project for AIQ
- Scheduling Jobs in Jenkins
- Changing Time Zones in Jenkins
- Jenkins Email Notification
Jenkins
This section details how to configure and run scenarios from Jenkins. This is applicable for both Jenkins installed locally as well as in the cloud, such as using Cloudbees-Jenkins.
Last updated: June 01, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Jenkins Configuration
Setup a build in Jenkins: Configuration and pre-requisite:
-
Download Links for the following are available at “>CI Jenkins”
-
After installation, Jenkins automatically launches using port 8080. To change the port number, locate Jenkins/jenkins.xml and modify the --httpPort argument.
For example: -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8081 -
Install ANT using >http://ant.apache.org/bindownload.cgi
-
Download and install the appropriate file on your machine depending on the operating system used
-
Click Manage Jenkins
-
Click Configure System
-
Scroll to Global Properties
-
Check Environment variables
-
Enter PATH in the Name box
-
Enter the Java and Ant paths in the Value box as illustrated below
-
Click Save (Changes)
-
Configure Project to Point to Plugin
-
Please make sure to install GIT on the machine where Jenkins is installed, once installed please restart the Jenkins service.
Download git from >https://git-scm.com/downloads based on your operating system.
Last updated: April 28, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Jenkins File Reference for AIQ Integrations
Last reviewed: September 24, 2026
Use this page to explain what the Jenkins files are for when AIQ test execution is triggered or coordinated from a CI pipeline.
What changed in this article
- Clarify which files define build parameters, which call AIQ, and which publish or collect results.
- Keep customer-specific job names, tokens, and workspace paths out of the shared documentation.
- Point users to the Jenkins job configuration article when they need step-by-step pipeline setup.
Validation workflow
- Identify the Jenkinsfile or helper script used by the project.
- Confirm required parameters such as AIQ project, scenario, environment, and result handling.
- Run the job in a non-production folder before adopting it for scheduled execution.
Review note: Made the article a file-purpose reference instead of a loose Jenkins note, so it fits with the Jenkins integration pages.
Last updated: September 24, 2026
If you have feedback on this topic, contact documentation@appvance.ai.
Required File Changes for AIQ Integrations
Required File Changes for AIQ Integrations
Track required integration file changes carefully and keep environment-specific values out of source files.
Last updated: September 8, 2026
Creating First Jenkins Project
Creating your first project and configuring GIT Repo:
-
Once downloaded and installed launch http://localhost:8080 (or with the changed port number) in your browser or log in to your Jenkins cloud
-
Click on New Item from the left navigation
-
Provide a valid Job name
-
Select “Build a free-style software project”
-
Click on the OK button
-
Provide a description of the project
-
Locate Source Code Management and choose Git, Provide the Repository URL with the credential details where all the above files reside and changes made
-
Mention the branch details from the files that reside
-
Build Environment - Check "Delete workspace before build starts", this will ensure the latest assets are uploading when running the Jenkins job
-
Build - Add Build step > Invoke Ant and add the Ant Call as mentioned below
** If Ant is not configured in Jenkins but its installed on the Jenkins agent, the job still can be executed with the following command:
Last updated: June 02, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Run AIQ Scenarios from Jenkins with Ant
Recommended guidance
Use Jenkins and Ant only when the project still requires an Ant-based automation pipeline. For new pipelines, confirm whether a newer CI/CD approach is available before extending legacy Ant jobs.
Before configuring the job
- Confirm the AIQ environment, project, scenario, and execution target.
- Use service accounts or CI credentials stored in Jenkins credentials management.
- Do not hard-code AIQ usernames, passwords, tokens, or environment secrets in build files.
- Confirm the agent machine can reach AIQ, repositories, browsers, Test Nodes, and required application URLs.
- Keep build files, scripts, and configuration under version control.
Pipeline checks
- Run the Ant target locally or on a controlled Jenkins agent before scheduling it.
- Capture AIQ execution IDs, Jenkins build numbers, logs, and artifacts.
- Fail the Jenkins job when the AIQ result fails, times out, or cannot be retrieved.
- Archive only the evidence required for troubleshooting and compliance.
- Review old Ant jobs periodically and retire duplicate or unused jobs.
Terminology note: Use Scenario Editor when referring to current AIQ scenarios. Keep legacy terms only when describing old job names, file names, or historical assets.
Last updated: October 5, 2026
Configure ant to run Blueprints from Jenkins
Similarly, projects can also be created to run AISG based on templates.
blueprintDashboard would be the ant target that would be used to create a dashboard for the AISG which internally will call targets like report upload, AISG creation, etc.
Once the initial AISG is created, the Blueprint template exported from file menu options would be the input that would be used for the re-creation of the AISG in everyone runs or as scheduled.
Last updated: April 28, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Configure a Parameterized Jenkins Project for AIQ
Configure a Parameterized Jenkins Project for AIQ
Use a parameterized Jenkins project when an AIQ-related automation job needs controlled runtime values such as environment, suite, branch, browser, or execution profile. Keep Jenkins as the orchestration layer and keep AIQ configuration, credentials, and test data in approved locations.
Recommended parameters
- Target environment or base URL.
- Suite, project, or execution profile name.
- Browser, device, or Test Node group when applicable.
- Build, branch, or release identifier for traceability.
Good practices
- Use clear parameter names and defaults that are safe for non-production execution.
- Validate required parameters before starting the job.
- Do not store secrets directly in job descriptions, scripts, or documentation.
- Record the Jenkins build URL with the related AIQ execution or report.
Last updated: September 8, 2026
Scheduling Jobs in Jenkins
By setting the schedule period to 15 13 * * * you tell Jenkins to schedule the build every day of every month of every year at the 15th minute of the 13th hour of the day.
Jenkins uses a >cron expression, and the different fields are:
MINUTES Minutes in one hour (0-59)
HOURS Hours in one day (0-23)
DAYMONTH Day in a month (1-31)
MONTH Month in a year (1-12)
DAYWEEK Day of the week (0-7) where 0 and 7 are Sunday
If you want to schedule your build every 5 minutes, this will do the job : */5 * * * *
If you want to schedule your build every day at 8h00, this will do the job : 0 8 * * *
For the past few versions (2014), Jenkins has a new parameter, H (extract from the >Jenkins code documentation):
To allow periodically scheduled tasks to produce an even load on the system, the symbol H (for “hash”) should be used wherever possible.
For example, using 0 0 * * * for a dozen daily jobs will cause a large spike at midnight. In contrast, using H H * * * would still execute each job once a day, but not all at the same time, better using limited resources.
Note also that:
The H symbol can be thought of as a random value over a range, but it actually is a hash of the job name, not a random function, so that the value remains stable for any given project.
Last updated: June 01, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Changing Time Zones in Jenkins
By default, the timezone is in UTC.
If you want to change the timezone to a different one:
For more timezone codes, please refer to>Time Zones information at Java Locale for “English (United States)” (en-US) at LocalePlanet.
Last updated: April 28, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Jenkins Email Notification
-
Login to Jenkins.
-
Navigate to Manage Jenkins.
-
Navigate to “Go to plugin manager”
-
Search for “Email Extension” under filter section in plugin manager
-
Download and Install the Email Extension
-
Create APP Password for GMAIL account - Follow below steps to create App Password
-
If you configure Jenkins e-mail please you should follow the below steps:
-
first enable two step verification for reference click here
-
generate an app password
-
add the app password instead of your password
-
-
After successfully creation of APP Password for GMAIL
-
Go to Configure System in Manage Jenkins.
-
Under Configure system go to “Extended Email Notification and add
-
SMTP Server field - smtp.gmail.com
-
SMTP Port - 465
-
-
Click Advanced button below SMTP Port
-
Click Add button
-
Go to Jenkins credentials provider and add the Username and APP Password ( Which was created on Step 6) and click Add button.
-
Click save button in Configure system
-
Go to the project and click configure
-
Under post-build Actions Choose Editable Email notification under Build
-
Under Editable Email notification add
-
“Email id” under Project From
-
Other field are by-default filled
-
Click Advance settings
-
All the field are are by-default filled
-
Click Add trigger under Triggers
-
Select Always (User can change as per requirement)
-
Click Advanced under Triggers
-
Add Recipient Mail id under Recipient List
-
Click Save and Apply
-
Recipient user will start getting Email Notifications
Last updated: June 02, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai