diff --git a/.pipelines/1p-build.yml b/.pipelines/1p-build.yml index a122fd25ca..199a56865c 100644 --- a/.pipelines/1p-build.yml +++ b/.pipelines/1p-build.yml @@ -1,3 +1,10 @@ +parameters: + - name: verboseNpmLogs + type: boolean + default: false + values: + - true + - false variables: CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning LinuxContainerImage: "mcr.microsoft.com/onebranch/cbl-mariner/build:2.0" # Docker image which is used to build the project https://aka.ms/obpipelines/containers @@ -17,7 +24,7 @@ resources: - repository: 1P type: git name: IDDP/msal-javascript-1p - ref: master + ref: debug-log-config extends: template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates @@ -35,10 +42,12 @@ extends: parameters: libName: msal-common path: "lib/" + verboseNpmLogs: ${{ parameters.verboseNpmLogs }} - template: .pipelines/templates/ci-template.yml@1P parameters: libName: msal-browser path: "lib/" + verboseNpmLogs: ${{ parameters.verboseNpmLogs }} - template: .pipelines/templates/ci-template.yml@1P parameters: libName: msal-browser-1p @@ -47,16 +56,20 @@ extends: parameters: libName: msal-node path: "lib/" + verboseNpmLogs: ${{ parameters.verboseNpmLogs }} - template: .pipelines/templates/ci-template.yml@1P parameters: libName: msal-react path: "lib/" + verboseNpmLogs: ${{ parameters.verboseNpmLogs }} - template: .pipelines/templates/ci-template.yml@1P parameters: libName: msal-angular path: "lib/" + verboseNpmLogs: ${{ parameters.verboseNpmLogs }} - template: .pipelines/templates/ci-template.yml@1P parameters: libName: msal-node-extensions path: "extensions/" os: ["linux", "windows", "macOs"] + verboseNpmLogs: ${{ parameters.verboseNpmLogs }}