Skip to content

Commit

Permalink
Add Azure Pipeline and remove Jenkins builds (#72)
Browse files Browse the repository at this point in the history
* Remove the build line from the Jenkinsfile

* Add azure-pipeline.yaml to point to main archive location

* Remove build.toml
  • Loading branch information
papowerNI authored Mar 15, 2023
1 parent 53263c7 commit 3c49252
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 28 deletions.
1 change: 0 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ def lvVersions = [
]

diffPipeline(lvVersions)
ni.vsbuild.PipelineExecutor.execute(this, 'vs_cd_build', lvVersions)
46 changes: 46 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
trigger:
batch: true
branches:
include:
- main
- release/*

resources:
repositories:
- repository: niveristand-custom-device-build-tools
type: github
ref: main
endpoint: nivs-custom-devices
name: ni/niveristand-custom-device-build-tools

stages:
- template: azure-templates/stages.yml@niveristand-custom-device-build-tools
parameters:
lvVersionsToBuild:
- version: '2020'
bitness: '32bit'
- version: '2021'
bitness: '64bit'
- version: '2023'
bitness: '64bit'

buildSteps:
- projectLocation: 'Source\SLSC EDS.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Configuration Release'

- projectLocation: 'Source\SLSC EDS.lvproj'
buildOperation: 'ExecuteBuildSpecAllTargets'
target: 'All'
buildSpec: 'Engine Release'

releaseVersion: '23.3.0'
buildOutputLocation: 'Built'
archiveLocation: '\\nirvana\Measurements\VeriStandAddons\slsc_eds_custom_device'

packages:
- controlFileName: 'control'
payloadMaps:
- installLocation: 'documents\National Instruments\NI VeriStand $(lvVersion)\SLSC Plugins\Modules'
payloadLocation: 'Built'
27 changes: 0 additions & 27 deletions build.toml

This file was deleted.

0 comments on commit 3c49252

Please sign in to comment.