Hello!
I'm trying to run a simple pipeline in commit stage on main branch, with the following yaml script:
trigger:
branches:
include:
- main
pr:
branches:
include:
- main
# Using Microsoft hosted-agent (managed by Microsoft)
pool:
vmImage: ubuntu-latest
jobs:
- job: CommitStage
displayName: 'Commit Stage for Task Service'
steps:
- checkout: self
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean install'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.17'
mavenVersionOption: 'Default'
displayName: 'Build and Test Task Service'
- script: curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
displayName: 'Install Grype for vulnerabilities scan'
# Assuming the project to be scanned is at the root of the repo
- script: grype .
displayName: 'Vulnerability Scan with Grype'
The CLI output return the following error:
##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipelines-parallelism-request
Pool: Azure Pipelines
Image: ubuntu-latest
Started: Today at 14:22
Duration: 2m 51s
I don't know what's that mean? I don't have any parallel jobs! it's just one script, and the docs says: it's free to use hosted agents!
help please