Interface OutputArtifact.Builder

  • Method Details

    • name

      The name of the output of an artifact, such as "My App".

      The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

      Output artifact names must be unique within a pipeline.

      Parameters:
      name - The name of the output of an artifact, such as "My App".

      The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

      Output artifact names must be unique within a pipeline.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • files

      The files that you want to associate with the output artifact that will be exported from the compute action.

      Parameters:
      files - The files that you want to associate with the output artifact that will be exported from the compute action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • files

      OutputArtifact.Builder files(String... files)

      The files that you want to associate with the output artifact that will be exported from the compute action.

      Parameters:
      files - The files that you want to associate with the output artifact that will be exported from the compute action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.