02-10-2014 04:42 PM
I am curious how others are tracking deployed software versions in automated test environments.
I am working on a medical device tester and we have a somewhat inefficient method for keeping track of all version numbers. I would like to know what tools are available to automate tracking version throughout a project, from build to viewing later. Or, what methods are typical in this type of environment.
Essentially, we need to be able to say at any given moment what software version is running at 3 remote locations on several deployed systems.
For simply automating the process of viewing the version number programmatically, I found this, but we've had issues with it:
http://digital.ni.com/public.nsf/allkb/D45E3A1E694815AD86257173005CFD36
This solution requires a "separate" installer to get the .NET framework onto the target PC. Also, it doesn't work (to my knowledge) with the Help>>About window.
Comments?
02-10-2014 05:22 PM
02-21-2014 05:11 PM
Dennis,
Thanks for replying. We are using SVN. The exact ECO process for this project is under construction as it is a relatively new project and deployments will be at our customer's site. We use JIRA for tracking specific change requests.
Here's an example of our basic process:
- Software changes made (according to JIRA tasks) and source code checked in
- Builds released per schedule with version numbers (from JIRA projects) hard-coded into the application
- Builds deployed at different locations & times
Here's what I'd like to see to improve things:
- Builds released with version numbers generated from one of the following:
1. Loaded from JIRA release numbers - maybe auto-generated for reference by LabVIEW when building the application
2. Part of a custom build launcher
>> This would be a custom interface that runs functions like those in Application Builder palette while also sending version info
>> Perhaps it could prompt the user for version info or read from something auto-generated.
- Builds should automatically make version numbers visible within the application (for example, LabVIEW has the Help>>About window)
- Build numbers should be programmatically/dynamically accessible without having to install an additional .NET framework that isn't listed in 'Additional Installers'
Curious if there are any tools that support these kinds of things. I am aware of Deploy by Wirebird Labs and Proligent by Averna, although I am lacking in knowledge about specific features.
Regards,
Dan
03-06-2014 09:19 AM
http://lavag.org/topic/15473-getting-the-version-of-a-build-from-the-project/?p=93474
03-29-2014 07:25 PM
Hi Dan,
You might want to look at BLT for LabVIEW : http://BLTforLabVIEW.com and also on the LabVIEW Tools Network
It's totally free for up to 5 deployments so it's fine for your first needs.
BLT for LabVIEW includes a framework in your LabVIEW code that reports usage sessions, version, error logs...
It also give you the ability to push program updates automatically.
It might be the perfect solution for your needs.
Let us know what you think!
Regards.
Matthias Baudot | Software Architect | Founder at STUDIO BODs
03-30-2014 04:53 AM
Hi,
We wrote our own one click build. One of its actions is updating the title bar of the main window with the version number based on today's date, as well as updating the exe name with the version number, e.g. MyProgram_300314.exe and "My Program Version 300314". In addition it commits the code with an automatic message including the build version. We have an input window where the person doing the relase enters the bug fixes and changes for this version and this is added to the commit message. So far, it's working great.
Thanks,
Danielle