-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial version including: * UUID class to handle structural functions. * Random (V4) UUID generation support.
- Loading branch information
Showing
23 changed files
with
764 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,7 @@ | |
# Metadata | ||
*.aliases | ||
*.lvlps | ||
.cache/ | ||
|
||
# Build Folders | ||
builds/ | ||
*.vip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
pipeline { | ||
agent { | ||
node { | ||
label 'LV2015' | ||
} | ||
} | ||
environment { | ||
LV_VER = 2015 | ||
LV_BIT = 32 | ||
G_CLI_PARAMS = "--lv-ver ${env.LV_VER}" | ||
VERSION = "0.1.0" | ||
FULL_VERSION = VersionNumber(versionNumberString: '${BUILDS_ALL_TIME,X}', versionPrefix: "${VERSION}." , worstResultForIncrement: 'FAILURE') | ||
} | ||
options { | ||
timeout(time:45, unit: 'MINUTES') | ||
buildDiscarder(logRotator(numToKeepStr: '100')) | ||
} | ||
stages { | ||
stage('Setup') { | ||
steps { | ||
script { | ||
currentBuild.displayName = "${env.FULL_VERSION}" | ||
} | ||
echo "Building ${FULL_VERSION}" | ||
bat "if not exist builds mkdir builds" | ||
bat 'g-cli %G_CLI_PARAMS% vipcApply -- "ext\\G-UUID Dependencies.vipc" %LV_VER% %LV_BIT%' | ||
} | ||
} | ||
|
||
stage('Unit Test LabVIEW') { | ||
steps { | ||
bat 'g-cli %G_CLI_PARAMS% viTester -- -xml "test_results.xml" "src\\G-UUID.lvproj"' | ||
junit 'test_results.xml' | ||
} | ||
} | ||
stage('Build Outputs') { | ||
steps { | ||
bat 'g-cli %G_CLI_PARAMS% vipBuild -- -versionNumber %FULL_VERSION% "src\\G UUID.vipb"' | ||
|
||
} | ||
} | ||
stage('VI Analyzer') { | ||
steps { | ||
bat 'g-cli %G_CLI_PARAMS% wiresmith\\viAnalyzer -- -report "vi_analyzer.xml" "src\\G-UUID.lvproj"' | ||
recordIssues enabledForFailure: true, qualityGates: [[threshold: 1, type: 'TOTAL_ERROR', unstable: true]], tools: [checkStyle(pattern: 'vi_analyzer.xml')] | ||
} | ||
} | ||
stage('Release Steps') { | ||
when { buildingTag() } | ||
steps { | ||
script { | ||
currentBuild.description = "${env.VERSION} Release" | ||
currentBuild.keepLog = true | ||
} | ||
} | ||
} | ||
} | ||
post { | ||
always { | ||
step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: emailextrecipients([culprits(), requestor(), upstreamDevelopers()]), sendToIndividuals: true]) | ||
archiveArtifacts artifacts: 'builds/*.zip', fingerprint: true | ||
bat 'g-cli %G_CLI_PARAMS% quitLabVIEW' | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,31 @@ | ||
# G-UUID | ||
A UUID Library for LabVIEW | ||
|
||
## :ledger: Description | ||
|
||
This provides UUID generation for LabVIEW for RFC 4122. Currently based on version 4 random UUIDs only but to be expanded. | ||
|
||
|
||
## :rocket: Installation | ||
|
||
A VI Package file will be provided for installation. | ||
|
||
## :sunglasses: Usage | ||
|
||
TBC | ||
|
||
## :computer: Development Requirements | ||
|
||
This code is build in LabVIEW 2015. | ||
|
||
## :busts_in_silhouette: Contributing | ||
|
||
If you would like to contribute - please claim an issue on Github or create one for what you want to work on. | ||
|
||
## :beers: Credits | ||
|
||
* [RFC 4122](https://tools.ietf.org/html/rfc4122) | ||
|
||
## :page_facing_up: License | ||
|
||
This project is (c) Customer and is not licensed for external use. |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
101 changes: 101 additions & 0 deletions
101
src/tests/UUID Structure Tests/UUID Structure Tests.lvclass
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[VIAnalyzer] | ||
Config = "/C/Users/james.WIRESMITH/Documents/Wiresmith Projects/Open Source Projects/G-UUID/src/Wiresmith Analyzer Config.cfg" |