我可以关闭 Azure DevOps 管道中的并行作业吗?
Can I turn off parallel jobs in Azure DevOps pipeline?
我是 Azure 管道的新手。我正在尝试创建用于部署简单 python 应用程序的管道。
但是我得到错误
No hosted parallelism has been purchased or granted
据我了解,Microsoft 禁止为 public 项目和新组织中的某些私人项目免费授予并行工作。但是,如果我不需要并行作业怎么办?我需要一个接一个 运行 的工作。我可以关闭并行作业的使用吗?
我选择模板“Python package”并设置环境变量“python.version”只有一个版本“3.7”。但这没有帮助。我仍然有同样的错误
No hosted parallelism has been purchased or granted
免费层支持 1 个并行作业,即仅 1 个作业。
查看下面的并行作业microsoft's defination-
What is a parallel job?
When you define a pipeline, you can define it as a collection of jobs. When a pipeline runs, you can run multiple jobs as part of that pipeline. Each running job consumes a parallel job that runs on an agent. When there aren't enough parallel jobs available for your organization, the jobs are queued up and run one after the other.
正如您正确提到的那样,msft 暂时禁用了私人项目。但是,您可以请求授予对免费工作的访问权限。您最多可能需要 2-3 天才能获得访问权限。
To request the free grant for public or private projects, submit a request here
我是 Azure 管道的新手。我正在尝试创建用于部署简单 python 应用程序的管道。 但是我得到错误
No hosted parallelism has been purchased or granted
据我了解,Microsoft 禁止为 public 项目和新组织中的某些私人项目免费授予并行工作。但是,如果我不需要并行作业怎么办?我需要一个接一个 运行 的工作。我可以关闭并行作业的使用吗?
我选择模板“Python package”并设置环境变量“python.version”只有一个版本“3.7”。但这没有帮助。我仍然有同样的错误
No hosted parallelism has been purchased or granted
免费层支持 1 个并行作业,即仅 1 个作业。
查看下面的并行作业microsoft's defination-
What is a parallel job? When you define a pipeline, you can define it as a collection of jobs. When a pipeline runs, you can run multiple jobs as part of that pipeline. Each running job consumes a parallel job that runs on an agent. When there aren't enough parallel jobs available for your organization, the jobs are queued up and run one after the other.
正如您正确提到的那样,msft 暂时禁用了私人项目。但是,您可以请求授予对免费工作的访问权限。您最多可能需要 2-3 天才能获得访问权限。 To request the free grant for public or private projects, submit a request here