Perhaps you can share the agent(s) you are expecting it to run on, and the
job configuration of the jobs that aren't scheduling?

If the job isn't being assigned, it means there is no free agent[1] in the
desired pipeline-scope environment[2] that offers the requested job-scope
resources [3]. All three conditions need to be met, so either your agent or
the pipeline/job may be configured in a different way to your agents
(perhaps it is requesting a "resource")?

Keep in mind that you don't have to use job resource requirements or
environments if you don't want to, and you can configure it such that some
agents will be able to run jobs with no specific requested resource; or no
specific environment.

-Chad

On Sat, May 4, 2024 at 1:10 AM 'pan...@mammoth.io' via go-cd <
go-cd@googlegroups.com> wrote:

> Hi,
>
> I am trying to use the feature of pipeline as a code. In the config
> repository, I have configured an Allow rule for a specific environment.
> There are agents assigned to this environment. Having done this, I am now
> triggering the pipeline. The pipeline however just keeps waiting for an
> agent allocation. What step am I missing and where should this be
> configured.
> [image: Screenshot from 2024-05-03 22-38-39.png]
>
> Any help would be appreciated.
>
> Warm regards,
> Pankaj
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/a19f5206-b9e3-4321-9831-e3da5fdf4c92n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/a19f5206-b9e3-4321-9831-e3da5fdf4c92n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAA1RwH9MsLA31XJ0HpS9s0Fw15owYt8x6r61JmpqLpoUx-RP%2Bw%40mail.gmail.com.

Reply via email to