daml/ci/job-variables.yml

15 lines
652 B
YAML
Raw Normal View History

# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
variables:
- name: pipeline_timestamp
value: $[ format('{0:yyyy}-{0:MM}-{0:dd}T{0:HH}:{0:mm}:{0:ss}.{0:fffffff}', pipeline.startTime) ]
- name: pipeline_id
value: $(pipeline_timestamp)-$(System.JobDisplayName)-$(System.JobId)-$(System.JobAttempt)
- name: git_branch_sha
value: $[ dependencies.git_sha.outputs['out.branch'] ]
- name: git_main_sha
value: $[ dependencies.git_sha.outputs['out.main'] ]
- name: git_fork_point_sha
value: $[ dependencies.git_sha.outputs['out.fork_point'] ]