From 3ee7c9643fe6405ca825d8334712579f432fd0ab Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Jan 2022 16:29:01 +0200 Subject: [PATCH 1/8] Add comments files --- body.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/body.txt b/body.txt index def2e8fc2..5fe9014bd 100644 --- a/body.txt +++ b/body.txt @@ -1 +1 @@ -"Your Message to Comment" \ No newline at end of file +"Your Message to Comment!" \ No newline at end of file From 7379afd8c3707142c13a244bc43039a555ec433f Mon Sep 17 00:00:00 2001 From: rrron <33317666+rrron@users.noreply.github.com> Date: Wed, 19 Jan 2022 16:33:48 +0200 Subject: [PATCH 2/8] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e722edc92..8118c0772 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -29,6 +29,6 @@ steps: userToken: '$(githubToken)' repository: '$(Build.Repository.Name)' prNumber: '$(System.PullRequest.PullRequestNumber)' - bodyFilePath: 'Tasks/GitHubPRComment/' + bodyFilePath: '' extension: 'txt' getSubFolders: true \ No newline at end of file From ba2573d461fc16b88e8ee8518db708e8225449e7 Mon Sep 17 00:00:00 2001 From: rrron <33317666+rrron@users.noreply.github.com> Date: Wed, 19 Jan 2022 16:38:57 +0200 Subject: [PATCH 3/8] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 571775696..25cffb730 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,6 +41,7 @@ steps: inputs: userToken: '$(githubToken)' repository: '$(Build.Repository.Name)' - bodyFilePath: '' + prNumber: '$(System.PullRequest.PullRequestNumber)' + bodyFilePath: '.' extension: 'txt' getSubFolders: true \ No newline at end of file From 407e4d2067a13c87591852463618f0f56fdcbe1e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Jan 2022 16:43:33 +0200 Subject: [PATCH 4/8] Add comments files --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e722edc92..cb52cc2f4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,7 +26,7 @@ steps: - task: github-pr-comment@0 inputs: - userToken: '$(githubToken)' + userToken: "$(githubToken)" repository: '$(Build.Repository.Name)' prNumber: '$(System.PullRequest.PullRequestNumber)' bodyFilePath: 'Tasks/GitHubPRComment/' From b43bfad08adb3d7e9d3d18941a1ee95ea5fc9c68 Mon Sep 17 00:00:00 2001 From: rrron <33317666+rrron@users.noreply.github.com> Date: Wed, 19 Jan 2022 17:01:17 +0200 Subject: [PATCH 5/8] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dcaa556ba..6a34b1bf0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,11 +37,8 @@ steps: import os print (os.environ) -- task: github-pr-comment@0 +- task: GitHubComment@0 inputs: - userToken: "$(githubToken)" - repository: '$(Build.Repository.Name)' - prNumber: '$(System.PullRequest.PullRequestNumber)' - bodyFilePath: '.' - extension: 'txt' - getSubFolders: true \ No newline at end of file + gitHubConnection: 'github.com_rrron' + repositoryName: '$(Build.Repository.Name)' + comment: '"Your Message to Comment!"' \ No newline at end of file From 53aab0d53e1600677e04cc8b28dbf50511909323 Mon Sep 17 00:00:00 2001 From: rrron <33317666+rrron@users.noreply.github.com> Date: Wed, 19 Jan 2022 17:03:50 +0200 Subject: [PATCH 6/8] artifacts addition --- azure-pipelines.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a34b1bf0..9244457a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,7 +23,12 @@ steps: publishJUnitResults: true testResultsFiles: '**/surefire-reports/TEST-*.xml' goals: 'package' - +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' + StoreAsTar: true - task: PythonScript@0 inputs: scriptSource: 'inline' From 1bfb1d737b68a70fa4f2e8501e483aafc1604f71 Mon Sep 17 00:00:00 2001 From: rrron <33317666+rrron@users.noreply.github.com> Date: Wed, 19 Jan 2022 17:09:08 +0200 Subject: [PATCH 7/8] artifacts link added --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9244457a2..7310c68f3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -46,4 +46,4 @@ steps: inputs: gitHubConnection: 'github.com_rrron' repositoryName: '$(Build.Repository.Name)' - comment: '"Your Message to Comment!"' \ No newline at end of file + comment: 'Artifacts link: $(Build.ArtifactStagingDirectory)' \ No newline at end of file From ce43b02cb826dfc8b9e46d72ac1c8ae7e4ba9f90 Mon Sep 17 00:00:00 2001 From: rrron <33317666+rrron@users.noreply.github.com> Date: Wed, 19 Jan 2022 17:16:01 +0200 Subject: [PATCH 8/8] artifacts link added --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7310c68f3..17fe8cf0a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -46,4 +46,4 @@ steps: inputs: gitHubConnection: 'github.com_rrron' repositoryName: '$(Build.Repository.Name)' - comment: 'Artifacts link: $(Build.ArtifactStagingDirectory)' \ No newline at end of file + comment: '✅ Artifacts link: **[drop.tar](https://dev.azure.com/rstanevych0545/_apis/resources/Containers/2294508/drop?itemPath=drop%2Fdrop.tar)**' \ No newline at end of file