2016-08-03 2 views

답변

0

불행히도 이름을 참조 할 수 없습니다. 식 @pipelineId을 사용하여 파이프 라인 ID를 참조 할 수 있습니다. 예를 들어, ShellCommandActivity를 정의하여 파이프 라인 ID를 인쇄 할 수 있습니다.

{ 
    "id": "ExampleActivity", 
    "name": "ExampleActivity", 
    "runsOn": { "ref": "SomeEc2Resource" }, 
    "type": "ShellCommandActivity", 
    "command": "echo \"Hello from #{@pipelineId}\"" 
} 
관련 문제