How to resolve "No hosted parallelism has been purchased or granted" in free tier?

chw 271 Reputation points
2021-07-15T18:40:29.757+00:00

Hello,

I've just started with Azure DevOps pipelines and just created a very simple pipeline with a Maven task. I don't care for parallelism and I'm not sure in which way I've added it to my pipeline. Is there any way to use the Maven task on the free tier without parallelism?

This is my pipeline:

trigger:
- master

pool:
  vmImage: ubuntu-latest

steps:
- task: Maven@3

Thanks

Community Center | Not monitored
{count} votes

9 answers

Sort by: Most helpful
  1. Mika Riekkinen 61 Reputation points
    2021-12-12T09:45:02.437+00:00

    While not a perfect solution, this can be implemented by having a Self-hosted Agent.

    1. Project settings -> Agent pools
    2. Create new Agent pool, say "local"
    3. Add a new Agent and follow the instructions. This includes downloading the binaries and configuring the Agent.
    4. Start the agent by running run.sh (or run.bat?)
    5. Make your pipeline use the new Agent pool

    Last step can be done like this:

    pool:  
      name: local 
    
    trigger: none 
    
    steps: 
    - script: echo Hello, world! 
      displayName: 'Run a one-line script' 
    

    For me this is enough, I can do some testing and learning the syntax and that kind of things.

    For macOS Monterey, this was a bit nasty to setup, as the MacOS security did not allow
    the installer run properly. I had to allow each dll one by one in System Preferences -> Security.
    Also, I had to restart the install.sh and run.sh multiple times during installation. But once security
    is good, this provides exactly what I need.

    12 people found this answer helpful.

  2. Kondapalli Kranthi Kiran 56 Reputation points
    2021-09-20T10:52:37.13+00:00

    @ChristianWansart-6489 and others.

    If you choose to pay than wait for Microsoft responding to your request.

    1. Log in to your microsoft azure devops
    2. Select the Devops organization if it already exists otherwise create new Organization
    3. In the selected organization go to Setup billing and select your Azure subscription
    4. Back in your Organization settings, select Parallel jobs -> Microsoft Hosted -> Change -> Paid parallel jobs
    5. Change the paid parallel jobs to a non-zero number, prefer 1 as this setting allows you to choose number of parallel jobs that can be executed at any given time. Given all jobs are Queued.

    After this would the jobs can get executed successfully. This would however cost you.

    https://azure.microsoft.com/en-us/pricing/details/devops/azure-devops-services/

    11 people found this answer helpful.

  3. Sturla 176 Reputation points
    2021-08-05T10:53:37.71+00:00

    According to this https://devblogs.microsoft.com/devops/change-in-azure-pipelines-grant-for-private-projects/ for new organizations you need to request the free tier for a private repo. I was just setting this up right now for my new org and moving everything from my private working account to my new startup org.

    I haven´t gotten to setting up all the business "stuff" so I was going to start free and handle the rest in the next few days...

    1 person found this answer helpful.

  4. Joshua Abad 6 Reputation points
    2021-09-20T20:36:10.327+00:00

    They resolve it pretty fast though I've receive the grant after 1 working day and successfully deploy CI/CD. I believe the main purpose of this is to limit the abuse of free tier.

    1 person found this answer helpful.

  5. Axell 66 Reputation points
    2021-11-30T07:10:21.133+00:00

    Hello. @LeonardoPorrasGonzalez.
    As far as i understand, now we have 0 parallel jobs both for private and public projects?
    Screen is taken from Project Settings\Pipelines\Parallel Jobs.
    I also try to switch public project to private and vice versa.

    153574-jinn-%D0%B2%D0%BE%D0%BF%D1%80%D0%BE%D1%81-0471.jpg

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.