Default path for Jenkins projects when the relative path is specified for a field
The default path for any Jenkins project is relative to the workspace project folder. The following table defines the default path for a project depending on where the project is created and the type of system:
Location of project creation | Type of execution environment configuration | Default path | ||||||
---|---|---|---|---|---|---|---|---|
Directly on the Jenkins web user interface Dashboard | Master or stand-alone | installationDirectory/Jenkins/workspace/projectName For example:
| ||||||
Agent | rootDirectory/workspace/projectName For example:
| |||||||
Inside a folder | Master or stand-alone | installationDirectory/Jenkins/workspace/folderName/subfolderName/projectName For example:
| ||||||
Agent | rootDirectory/workspace/folderName/subfolderName/projectName For example:
|
In these paths:
- The installationDirectory variable represents the directory on the master or stand-alone system on which Jenkins is installed.
- The projectName variable represents the name of the project.
- The rootDirectory variable represents the root directory on the system on which the agent execution environment is configured.
- The folderName/subfolderName variable represents the folder structure in which the new project is created. The folder structure can include multiple subfolders.
Examples of specifying the relative path for a field
The project workspace folder or any of its subfolders can contain the files that SQL Assurance might use. Some fields in the project configuration define the paths of the required files. For these fields, you can also enter the relative path of the file.
The following fields support relative paths:
Build step | Field |
---|---|
BMC AMI DevOps Common - Authentication | Plug-in Variables File Path |
BMC AMI DevOps Common - File Transmission | Source PDS or Directory Name |
Destination PDS or Directory Name | |
BMC AMI DevOps Common - JCL Execution | Execution JCL PDS or Directory Name |
BMC AMI SQL Assurance for Db2 - Analyze Static SQL | Object List File Path |
The following examples illustrate the default path that SQL Assurance considers when you specify the relative path of a file.
Related topics