What are the two ways to pass data between jobs? (Choose two.)

What are the two ways to pass data between jobs? (Choose two.)
A . Use the copy action with restore parameter to restore the data from the cache
B . Use the copy action to save the data that should be passed in the artifacts folder.
C . Use the copy action with cache parameter to cache the data
D . Use data storage.
E . Use job outputs
F . Use artifact storage.

Answer: E, F

Explanation:

Job outputs are used to pass data from one job to another in a workflow. A job can produce output

values (like variables or files), which can be referenced by subsequent jobs using the needs keyword and ${{ steps.step_id.outputs.output_name }} syntax.

Artifact storage allows data (such as files or results) to be saved by a job and then retrieved by another job in a later step. This is commonly used for passing large amounts of data or files between jobs.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments