Fix drone build pipeline #1

Merged
OCram85 merged 9 commits from DroneTest into master 2022-07-13 16:19:34 +02:00
Showing only changes of commit c76b78de01 - Show all commits

View File

@ -17,7 +17,7 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Invoke-FileLinter Invoke-FileLinter
}" }"
@ -27,7 +27,7 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Invoke-Linter Invoke-Linter
}" }"
@ -37,7 +37,7 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Invoke-UnitTest -ExcludeTag 'Integration' Invoke-UnitTest -ExcludeTag 'Integration'
}" }"
@ -52,7 +52,7 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Send-PRComment Send-PRComment
}" }"
when: when:
@ -65,7 +65,7 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Invoke-BuildState Invoke-BuildState
}" }"
@ -88,12 +88,12 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Update-ModuleMeta -Verbose Update-ModuleMeta -Verbose
}" }"
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
New-BuildPackage -AdditionalPath './src/Rules' -Verbose New-BuildPackage -AdditionalPath './src/Rules' -Verbose
}" }"
@ -117,6 +117,6 @@ steps:
commands: commands:
- | - |
pwsh -NonInteractive -c "& { pwsh -NonInteractive -c "& {
Import-Module './src/DroneHelper.psd1'; Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
Invoke-Publish -Verbose Invoke-Publish -Verbose
}" }"