daml/ci/job-variables.yml
Andreas Herrmann 630d021331
Collect build-event-stream (#9831)
* Generate Bazel logs and upload to GCS

changelog_begin
changelog_end

* Move git_*_sha into variables template

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2021-06-11 12:16:08 +02:00

15 lines
652 B
YAML

# Copyright (c) 2021 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'] ]