ci: Clarify artifact naming

Put the job name and commit identifier in the artifact names.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2018-05-29 10:54:29 +01:00
parent a53d74e078
commit 91208e8d3f

View File

@@ -27,7 +27,7 @@ fedora-meson-x86_64:
except: except:
- tags - tags
artifacts: artifacts:
name: "glib-_${CI_COMMIT_REF_NAME}" name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always when: always
paths: paths:
- "${CI_PROJECT_DIR}/_build/meson-logs" - "${CI_PROJECT_DIR}/_build/meson-logs"
@@ -44,6 +44,7 @@ msys2-mingw32:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20 - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh" - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
artifacts: artifacts:
name: "glib-%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
when: always when: always
paths: paths:
- _build/meson-logs - _build/meson-logs
@@ -56,6 +57,7 @@ vs2017-x64:
script: script:
- .gitlab-ci/test-msvc.bat - .gitlab-ci/test-msvc.bat
artifacts: artifacts:
name: "glib-%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
when: always when: always
paths: paths:
- _build/meson-logs - _build/meson-logs
@@ -63,6 +65,7 @@ vs2017-x64:
coverage: coverage:
stage: coverage stage: coverage
artifacts: artifacts:
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths: paths:
- _coverage/ - _coverage/
script: script: