From dd9ce0c3ca2bb39064c0bf515517107e5bd46dea Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Tue, 19 Jan 2021 10:07:13 -0500 Subject: [PATCH 01/13] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..ac078ef --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- main + +pool: + vmImage: 'ubuntu-latest' + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From a362d472e7d56b5134d89c6134f9f88a439e2f70 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Tue, 19 Jan 2021 17:49:25 -0500 Subject: [PATCH 02/13] Update azure-pipelines.yml for Azure Pipelines adding a step to execute our plugin --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ac078ef..bd2a040 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,3 +17,10 @@ steps: echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' +- task: SonatypeCloudPipelineTask@0 + inputs: + SonatypeCloudService: 'staging-cloud.sonatype.com' + stage: 'Build' + applicationId: '$(Build.Repository.ID)' + applicationDisplayName: '$(Build.Repository.Name)' + enableDebug: true \ No newline at end of file From 9c09dee3ae81254cc160054e64ade97a4893693a Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 13:53:47 -0500 Subject: [PATCH 03/13] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bd2a040..f31f898 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,5 +22,4 @@ steps: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' applicationId: '$(Build.Repository.ID)' - applicationDisplayName: '$(Build.Repository.Name)' - enableDebug: true \ No newline at end of file + applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From 07301a822c5e7ac37db22c0bb5e0c39236454551 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 13:58:28 -0500 Subject: [PATCH 04/13] 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 f31f898..5dc090d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,5 +21,5 @@ steps: inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: '$(Build.Repository.ID)' + applicationId: 'cli-worm' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From 8694cbe8ce428fd95899ef7b97f86c7b106d11e4 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 14:05:37 -0500 Subject: [PATCH 05/13] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5dc090d..b04b14b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,9 +17,12 @@ steps: echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' +- script: echoe "$(Build.Repository.ID)" + displayName: "value" + - task: SonatypeCloudPipelineTask@0 inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: 'cli-worm' + applicationId: '$(Build.Repository.ID)' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From a5ae2b24256b395eaa322a63b866b207104d4eb3 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 14:08:35 -0500 Subject: [PATCH 06/13] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b04b14b..8d5b82c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,12 +17,10 @@ steps: echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' -- script: echoe "$(Build.Repository.ID)" - displayName: "value" - task: SonatypeCloudPipelineTask@0 inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: '$(Build.Repository.ID)' + applicationId: 'cli-worm' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From 5ace633a01ff50ba38b1e535017cff7f50cd58c5 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 15:22:31 -0500 Subject: [PATCH 07/13] 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 8d5b82c..394e915 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,5 +22,5 @@ steps: inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: 'cli-worm' + applicationId: 'chriswininger/cli-worm' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From 5ffed5f4606ce6c47f5c14a0f89510cba42226ed Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 15:24:04 -0500 Subject: [PATCH 08/13] 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 394e915..65cb4bc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,5 +22,5 @@ steps: inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: 'chriswininger/cli-worm' + applicationId: 'chriswininger/cli-worm-test' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From 7b4c0d7a61ae1f55a6c1ea7f50b613ce841371e3 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 16:13:10 -0500 Subject: [PATCH 09/13] 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 65cb4bc..6bee206 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,5 +22,5 @@ steps: inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: 'chriswininger/cli-worm-test' + applicationId: '$(Build.Repository.ID)' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From 60cc69501a5cf80207846f8903bc035fc53dffd9 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 17:14:51 -0500 Subject: [PATCH 10/13] 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 6bee206..8d5b82c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,5 +22,5 @@ steps: inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' stage: 'Build' - applicationId: '$(Build.Repository.ID)' + applicationId: 'cli-worm' applicationDisplayName: '$(Build.Repository.Name)' \ No newline at end of file From f1846625d6d2fd603524cf62367f55636871a85f Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Wed, 20 Jan 2021 17:42:07 -0500 Subject: [PATCH 11/13] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8d5b82c..d3a7005 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,7 +17,9 @@ steps: echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' - +- task: Npm@1 + inputs: + command: 'install' - task: SonatypeCloudPipelineTask@0 inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' From 20aadeb6b87f5d8a9579e5cbc2ca0a87a8af44c3 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Mon, 25 Jan 2021 09:53:23 -0500 Subject: [PATCH 12/13] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d3a7005..fe98d48 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,6 +20,10 @@ steps: - task: Npm@1 inputs: command: 'install' +- script: | + echo !!! node_modules contents + cat ./node_modules/npm-packlist/package.json + displayName: 'checkoutput' - task: SonatypeCloudPipelineTask@0 inputs: SonatypeCloudService: 'staging-cloud.sonatype.com' From 192e1e414a932a0c8898f9ec8798a5bead46d928 Mon Sep 17 00:00:00 2001 From: Chris Wininger Date: Mon, 25 Jan 2021 15:05:41 -0500 Subject: [PATCH 13/13] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fe98d48..aad4ac9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,10 +19,14 @@ steps: displayName: 'Run a multi-line script' - task: Npm@1 inputs: - command: 'install' + command: 'ci' - script: | - echo !!! node_modules contents + echo node_modules contents cat ./node_modules/npm-packlist/package.json + echo tree + npm ls + echo node version + node --version displayName: 'checkoutput' - task: SonatypeCloudPipelineTask@0 inputs: