diff --git a/.pipelines/smp.yml b/.pipelines/smp.yml index a445400d..c5a0eb2b 100644 --- a/.pipelines/smp.yml +++ b/.pipelines/smp.yml @@ -19,10 +19,15 @@ pool: vmImage: "ubuntu-22.04" steps: + - task: PipAuthenticate@1 + displayName: 'Pip Authenticate' + inputs: + # Provide list of feed names which you want to authenticate. + # Project scoped feeds must include the project name in addition to the feed name. + artifactFeeds: 'X-Ware/X-Ware_PublicPackages' + - bash: sudo $(Build.SourcesDirectory)/scripts/install.sh displayName: 'Install softwares' - env: - INDEX_URL: $(INDEX_URL) - task: Bash@3 displayName: 'SDL check' diff --git a/.pipelines/tx.yml b/.pipelines/tx.yml index 92c09722..e9084f8b 100644 --- a/.pipelines/tx.yml +++ b/.pipelines/tx.yml @@ -18,10 +18,15 @@ pool: vmImage: "ubuntu-22.04" steps: + - task: PipAuthenticate@1 + displayName: 'Pip Authenticate' + inputs: + # Provide list of feed names which you want to authenticate. + # Project scoped feeds must include the project name in addition to the feed name. + artifactFeeds: 'X-Ware/X-Ware_PublicPackages' + - bash: sudo $(Build.SourcesDirectory)/scripts/install.sh displayName: 'Install softwares' - env: - INDEX_URL: $(INDEX_URL) - task: Bash@3 displayName: 'SDL check' diff --git a/scripts/install.sh b/scripts/install.sh index 5435f4fc..af7b2174 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -17,6 +17,5 @@ apt-get install -y \ software-properties-common python3 -m pip install --upgrade pip -pip3 install artifacts-keyring -pip3 install gcovr==4.1 $INDEX_URL +pip3 install gcovr==4.1