If you are using a script for the task, you should be able to do that there
("if device is down, exit 0").

If you want the tests to run in parallel, then each of those could be a job
instead.

On Tue, Sep 19, 2017 at 5:16 AM, Varsha Varadarajan <
[email protected]> wrote:

> Hi,
>
> There isn't a way to disable the task. However, you could set the run if
> condition to 'any' so that the others tasks will continue to run. Read more
> about run if in the documentation
> <https://docs.gocd.org/current/configuration/configuration_reference.html#runif>
> .
>
> - Varsha
>
>
> On Tuesday, 19 September 2017 14:41:01 UTC+5:30, Mukesh Murali wrote:
>>
>> I have a GoCD pipeline that looks like below:
>>
>>  Stage 1:
>>       Job 1:
>>          Task1 : Run tests for device 1
>>          Task2 : Run tests for device 2
>>          Task3 : Run tests for device 3
>>
>> Issue is that we are running these tests remotely. And one of three
>> devices fail at times due to remote devices not being available. Is it
>> possible to disable a task in gocd if we know a device is going to be down
>> for a whole day. Any ideas on this is welcome.
>>
>> (I know this is a problem that needs to be fixed outside gocd, but the
>> intention of the question is to understand if gocd gives this level of
>> flexibility at all)
>>
> --
> 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