Skip to content

Commit

Permalink
Merge pull request #105 from ombori/DEVOPS-23
Browse files Browse the repository at this point in the history
Devops 23
  • Loading branch information
gaboraszt authored Jan 31, 2024
2 parents a05c68d + be62216 commit 8477ba8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ stages:
vmImage: ubuntu-latest
displayName: Prepare
jobs:
- job: InstallPwsh
displayName: 'Install powershell'
steps:
- template: azure-templates/prepare-project.yml
- task: PowerShell@2
displayName: 'Check Azure PowerShell'
inputs:
targetType: 'inline'
script: |
Get-InstalledModule -Name Az -AllVersions
- job: ScanAndBuild
workspace:
clean: all
Expand Down
7 changes: 7 additions & 0 deletions azure-templates/prepare-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
steps:
- task: PowerShell@2
displayName: 'Install Powershell'
inputs:
targetType: 'inline'
script: |
Install-Module -Name Az -AllowClobber -Scope CurrentUser -Force

0 comments on commit 8477ba8

Please sign in to comment.