You can add a task to downstream pipeline to fire schedule pipeline api -
https://api.gocd.org/current/#scheduling-pipelines, which will trigger the
upstream pipeline once the deployment pipeline is over.



On Wed, Nov 15, 2017 at 6:42 AM, Walmyr Filho <[email protected]> wrote:

> The "Run only on new materials"
> <https://www.google.com/url?q=https%3A%2F%2Fdocs.gocd.org%2Fcurrent%2Fconfiguration%2Fadmin_timer.html&sa=D&sntz=1&usg=AFQjCNHJfU4lI8emLK-KI4-gYAj1fFCfDA>
>  is
> not what I need, because it still runs only based on the timer, and what I
> need is to use the same pipeline with the timer, but also without the timer
> as a downstream of another pipeline.
>
> Em quarta-feira, 15 de novembro de 2017 09:11:26 UTC+1, Aravind SV
> escreveu:
>>
>> I think this should be possible. Have you tried it? Maybe setup a test
>> pipeline to try it. There's even the "Run only on new materials"
>> <https://docs.gocd.org/current/configuration/admin_timer.html> checkbox
>> which might be helpful.
>>
>> On Tue, Nov 14, 2017 at 10:45 AM, Walmyr Filho <[email protected]> wrote:
>>
>>> I wanted to say "... in a wiser* way".
>>>
>>>
>>> Em segunda-feira, 13 de novembro de 2017 14:40:36 UTC+1, Walmyr Filho
>>> escreveu:
>>>>
>>>> I have the following case that I was wondering if I could solve in a
>>>> wisely way:
>>>>
>>>> I have one pipeline with tests that are executed against production
>>>> after deployment of some services. In other words, this pipeline is a
>>>> downstream pipeline that depends on a deployment to successfully run.
>>>> Then I have another pipeline (almost equal to the one mentioned above)
>>>> with tests that are executed against production periodically (using timer).
>>>>
>>>> The thing is that since both pipelines are almost the same I was
>>>> thinking on having only one, but I still want to have the possibility to
>>>> trigger it as a dependency of the ones that run deployments, but also
>>>> periodically, using the timer. Is it possible?
>>>>
>>>> Let me know if it is clear or not.
>>>>
>>> --
>>> 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 [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to