Skip to content

/AWS1/CL_PIP=>PUTTHIRDPARTYJOBSUCCRESULT()

About PutThirdPartyJobSuccessResult

Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions only.

Method Signature

IMPORTING

Required arguments:

iv_jobid TYPE /AWS1/PIPTHIRDPARTYJOBID /AWS1/PIPTHIRDPARTYJOBID

The ID of the job that successfully completed. This is the same ID returned from PollForThirdPartyJobs.

iv_clienttoken TYPE /AWS1/PIPCLIENTTOKEN /AWS1/PIPCLIENTTOKEN

The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.

Optional arguments:

io_currentrevision TYPE REF TO /AWS1/CL_PIPCURRENTREVISION /AWS1/CL_PIPCURRENTREVISION

Represents information about a current revision.

iv_continuationtoken TYPE /AWS1/PIPCONTINUATIONTOKEN /AWS1/PIPCONTINUATIONTOKEN

A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the partner action. When the action is complete, no continuation token should be supplied.

io_executiondetails TYPE REF TO /AWS1/CL_PIPEXECUTIONDETAILS /AWS1/CL_PIPEXECUTIONDETAILS

The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->/aws1/if_pip~putthirdpartyjobsuccresult(
  io_currentrevision = new /aws1/cl_pipcurrentrevision(
    iv_changeidentifier = |string|
    iv_created = '20150101000000.0000000'
    iv_revision = |string|
    iv_revisionsummary = |string|
  )
  io_executiondetails = new /aws1/cl_pipexecutiondetails(
    iv_externalexecutionid = |string|
    iv_percentcomplete = 123
    iv_summary = |string|
  )
  iv_clienttoken = |string|
  iv_continuationtoken = |string|
  iv_jobid = |string|
).