blob: a2b5a91b2b80fd6e569fead3d56ea797d123cb28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: get_artifacts with just one value
include_tasks: get_one_artifact.yml
vars:
artifact_job_name: "{{ config.get_artifacts }}"
- name: get the url of the artifact
set_fact:
artifacts_src: >-
{{ gitlab.api_url }}/projects/{{
lookup( 'env', 'CI_PROJECT_ID') }}/jobs/{{
artifact_job_ids[0] }}/artifacts
|