Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…icon-editor-test into develop
  • Loading branch information
svelderrainruiz committed Dec 11, 2024
2 parents 4e8dc1c + 29df7ae commit cc8acc6
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
trigger: none
pr: none
# Removed trigger so pipeline runs only when requested via API
# trigger:
# branches:
# include:
# - main
# - develop

name: $(Build.BuildId)
name: $(Build.BuildID)

pool:
name: "Default"
demands:
- iconeditor -equals true
demands: "iconeditor -equals true"

variables:
build_id: $(Build.BuildId)
build_revision: $[counter('buildCounter', 1)]
build_version: '1.0.$(Build.BuildId).$(build_revision)'
build_id: $(Build.BuildID)
build_revision: $[counter('buildCounter',1)]
build_version: '1.0.$(Build.BuildID).$(build_revision)'
RelativePath: '$(Build.SourcesDirectory)'
RelativePathScripts: '$(Build.SourcesDirectory)\pipeline\scripts'

stages:
- stage: BuildAndTest
displayName: "Build and Test LabVIEW Project"
displayName: Build and Test LabVIEW Project
jobs:
- job: ExecuteScripts
displayName: "Execute Scripts"
displayName: Execute Scripts
steps:
- task: PowerShell@2
displayName: "Set agent into development mode"
displayName: 'Set agent into development mode'
inputs:
filePath: '$(RelativePathScripts)\Set_Development_Mode.ps1'
arguments: '-RelativePath "$(RelativePath)"'
Expand All @@ -32,10 +35,12 @@ stages:
errorActionPreference: 'Stop'

- task: PowerShell@2
displayName: "Test and Build the Icon Editor"
displayName: 'Test and Build the Icon Editor'
inputs:
filePath: '$(RelativePathScripts)\Build.ps1'
arguments: '-RelativePath "$(RelativePath)" -AbsolutePathScripts "$(RelativePathScripts)"'
arguments: >
-RelativePath "$(RelativePath)"
-AbsolutePathScripts "$(RelativePathScripts)"
workingDirectory: '$(RelativePathScripts)'
failOnStderr: true
errorActionPreference: 'Stop'
errorActionPreference: 'Stop'

0 comments on commit cc8acc6

Please sign in to comment.