You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #1766 on March 11, 2022 14:08.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, tasks can only depend on the success value of other tasks. To depend on another task result, we use the
def apply(): T
method.There are situations, where task failure does not necessarily means a build failure.
Here are some made up examples:
prepareOffline
task may want to fetch as much dependencies as possible, even when some are going to be unsuccessfulThoughts about the implementation:
Result[T]
, not just the sucess valueResult.Success[T](value)
, e.g.def raw(): Result[T]
Beta Was this translation helpful? Give feedback.
All reactions