Continuous Integration

cancel
Showing results for 
Search instead for 
Did you mean: 

G CLI v2.1 Release

Hi Everyone,

 

I'm really excited to announce that G CLI 2.1 is on github and hopefully on the tools network soon.

 

This release is all about making it much easier to make CI tools. For example I've built a VI tester tool which you can install with a VI package and then just call the following at the command line:

 

g-cli --lv-ver 2015 viTester -- -xml test_results.xml "LabVIEW Source/MyProject.lvproj"

 

The point of keeping the command line simple is so people can get going faster and it should be straightforward to use Jenkins, Gitlab or any other CI server (that supports clients/runners/agents on Windows)

 

Check out, download and try the release on github at https://github.com/JamesMc86/G-CLI/releases and provide me with any feedback you might have. Look around the wiki for more documentation.

 

If you look at my github repos I have some tools for build specs, VI tester and VI package manager ready to go - I've just got to upload VIPs somewhere as well. I'll post here once they are up.

 

I will hopefully flesh out some more tools as well (expect to see VI analyzer next) but you are more than welcome to do your own (as I don't use them all).

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
Message 1 of 5
(5,366 Views)
With the VI Tester command, will that run all tests within a project?
0 Kudos
Message 2 of 5
(5,360 Views)

Hi Ryan,

 

Yep - I'm just calling their API and providing the project name. Although actually looking at the docs I think if you put a class name instead it would just run that case/suite.

 

Cheers,

James

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 3 of 5
(5,357 Views)

I've put VIPs for the tools on Github and linked them all in the "From the G-CLI project" section at https://github.com/JamesMc86/G-CLI/wiki/Tools-That-Work-with-G-CLI

 

These are literally the bare essentials that I've knocked up quickly between projects this week but they are a good starting point and seem to be working for me!

 

Any problems or request, create issues on the corresponding projects and I'm sure they will evolve a lot over time.

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
Message 4 of 5
(5,345 Views)

Thank you, James! Awesome stuff!!




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )


0 Kudos
Message 5 of 5
(5,343 Views)