Skip to content

Commit

Permalink
Update build/test automations, correct path to binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Hjelm committed Sep 16, 2024
1 parent dfb3c84 commit 256b6de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ steps:
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
displayName: 'Copy JiraExport files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\net6'
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\net48'
Contents: |
ApplicationInsights.config
Atlassian.Jira.dll
Expand All @@ -111,7 +111,7 @@ steps:
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
displayName: 'Copy WorkItemImport files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\net6'
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\net48'
Contents: |
Microsoft.TeamFoundation.Client.dll
Microsoft.TeamFoundation.Common.dll
Expand Down
4 changes: 2 additions & 2 deletions test/integration/integration-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
- task: CopyFiles@2
displayName: 'Copy JiraExport files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)'
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\net48'
Contents: |
ApplicationInsights.config
Atlassian.Jira.dll
Expand All @@ -51,7 +51,7 @@ steps:
- task: CopyFiles@2
displayName: 'Copy WorkItemImport files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)'
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\net48'
Contents: |
Microsoft.TeamFoundation.Client.dll
Microsoft.TeamFoundation.Common.dll
Expand Down
8 changes: 4 additions & 4 deletions test/integration/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ steps:
- task: CopyFiles@2
displayName: 'Copy JiraExport files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\net6'
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\net48'
Contents: |
ApplicationInsights.config
Atlassian.Jira.dll
Expand All @@ -63,7 +63,7 @@ steps:
- task: CopyFiles@2
displayName: 'Copy WorkItemImport files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\net6'
SourceFolder: '$(system.defaultworkingdirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\net48'
Contents: |
Microsoft.TeamFoundation.Client.dll
Microsoft.TeamFoundation.Common.dll
Expand Down Expand Up @@ -102,10 +102,10 @@ steps:
New-Item -Path "$(System.DefaultWorkingDirectory)" -Name "workspace" -ItemType Directory
Copy-Item "$(System.DefaultWorkingDirectory)\test\integration\users.txt" -Destination "$(System.DefaultWorkingDirectory)\workspace"
- script: $(System.DefaultWorkingDirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\jira-export.exe -u $(JiraUser) -p $(JiraApiToken) --url $(JiraUrl) --config $(System.DefaultWorkingDirectory)\test\integration\config.json --force
- script: $(System.DefaultWorkingDirectory)\src\WorkItemMigrator\JiraExport\bin\$(BuildConfiguration)\net48\jira-export.exe -u $(JiraUser) -p $(JiraApiToken) --url $(JiraUrl) --config $(System.DefaultWorkingDirectory)\test\integration\config.json --force
displayName: jira-export.exe

- script: $(System.DefaultWorkingDirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\wi-import.exe --token $(AdoApiToken) --url $(AdoOrganizationUrl) --config $(System.DefaultWorkingDirectory)\test\integration\config.json --force
- script: $(System.DefaultWorkingDirectory)\src\WorkItemMigrator\WorkItemImport\bin\$(BuildConfiguration)\net48\wi-import.exe --token $(AdoApiToken) --url $(AdoOrganizationUrl) --config $(System.DefaultWorkingDirectory)\test\integration\config.json --force
displayName: wi-import.exe

- task: PythonScript@0
Expand Down

0 comments on commit 256b6de

Please sign in to comment.