Reference Design Content

cancel
Showing results for 
Search instead for 
Did you mean: 

Common Continuous Integration Steps for LabVIEW Command Line Interface

 Suite of common continuous integration steps for the LabVIEW Command Line Interface tool published by Wiresmith Technologies.

 

This library installs a set of LabVIEW VIs that can be invoked by the LabVIEW-CLI tool to perform the following steps:

  • Echo command line arguments (sanity check to verify configuration)
  • Execute LabVIEW Build Specification
  • Run VI Analyzer
  • Run VI Tester (with JUnit-compatible report)
  • Run Unit Test Framework tests (with JUnit-compatible report)
  • Build VI Package*
  • Publish VI Package*
  • Install VI Package*
  • Uninstall VI Package*
  • Update Installed VI Packages*
  • Apply VI Package Configuration*

*: Requires JKI VI Package Manager Pro license

 

A set of groovy scripts for use in Jenkins Pipelines is also included for reference, showing an example wrapper function for each step VI.  These groovy scripts assume that the install location for the LabVIEW steps (C:\Users\Public\Documents\National Instruments\LV-CLI Common Steps\steps) has been mapped to the L:\ drive, to simplify the scripts.

 

Source code is available at: https://github.com/LabVIEW-DCAF/buildsystem/tree/lv-cli

VI Package available at: https://github.com/LabVIEW-DCAF/buildsystem/releases

 

Supports LabVIEW 2014 and later.

 

Cheers,

Matt Pollock
National Instruments
Contributors