Class Task<T extends Node>
java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.Node<T>
cd.go.contrib.plugins.configrepo.groovy.dsl.Task<T>
- All Implemented Interfaces:
Configurable
,KeyVal.Mixin
,UtilsMixin
- Direct Known Subclasses:
AbstractFetchArtifactTask
,ExecTask
,PluginTask
,ShellTask
-
Method Summary
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.Configurable
configure
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.KeyVal.Mixin
lookup, lookup
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.UtilsMixin
sanitizeName
-
Method Details
-
getRunIf
Specifies when a task should be allowed to run. Multiple conditions may be defined for each task.A running job on an agent has two possible states: passed or failed. A job starts in the state
passed
. If any task fails, it transitions to the statefailed
.A task can specify any of three possible runif filters:
passed
,failed
orany
. Defaults topassed
. -
setRunIf
Specifies when a task should be allowed to run. Multiple conditions may be defined for each task.A running job on an agent has two possible states: passed or failed. A job starts in the state
passed
. If any task fails, it transitions to the statefailed
.A task can specify any of three possible runif filters:
passed
,failed
orany
. Defaults topassed
. -
equals
-
hashCode
public int hashCode() -
toString
-