From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

LabVIEW Continuous Integration (Jenkins/GitHub)

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

Overview

These example files are to be used in conjunction with the LabVIEW Continuous Integration Tutorial (Jenkins/GitHub).

 

The tutorial uses these files to illustrate how to graphically diff the source code submission of a Pull request when using Git repositories. It also demonstrates using Jenkins to automate the submission and build process.

 

Description

Using the LabVIEW Continuous Integration Tutorial, these files (which include LabVIEW VIs and scripts) are placed in separate repositories to automate Jenkins pipelines to:

  • Build a LabVIEW Build Specification
  • Perform Unit Tests
  • Perform a graphical diff of a Pull Request submission on GitHub

Hardware and Software Requirements

Steps to Implement or Execute Code

Place these files in the appropriate directories per the LabVIEW Continuous Integration Tutorial (Jenkins/GitHub).

 

Additional Information or References

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.