This is a simple VI that adds two numbers together and returns a result. This will be the output directory of the build specification. Modify the Destination directory to be the specific directory you set for the LV_BUILD_OUTPUT_DIR environment variable value, in the Jenkins Setup section. myApplication/source directory.Įxpand the Build Specifications, and double click myBuildSpec to open its properties: Use the following settings, entering your GitHub access token as the ‘Secret’ field. Now, navigate to the Credentials page: Jenkins Dashboard > Credentials > System > Global credentials > Add credentials Your Environment variables section should look like this:Ĭlick Save at the bottom of the screen to save your changes. These are the two repositories we created in the GitHub Setup section. The value fields for these variables should be your organization’s name (instead of ‘branchNI’) and myPicRepo, respectively. For instance, you may use something like C:\Windows\Temp\jenkins.Ĭlick Add two more times to add the ORG_NAME variable and the PIC_REPO variable. This should be an empty local directory anywhere on your computer, that LabVIEW will build and output files to. Fill out the Name as shown below (BUILD_SYSTEM_REPO), and enter myBuildSystem in the Value field:Ĭlick Add another time and add the LV_BUILD_OUTPUT_DIR environment variable. Navigate to the Global properties section.Ĭheck the Environment variables box to display the List of variables.Ĭlick Add to add a new environment variable. From the Jenkins dashboard, navigate to the system configuration page: Manage Jenkins > Configure System
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |