Commit 035a8b99 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: fix artifacts and remove unecessary lines

parent b507b210
...@@ -40,12 +40,6 @@ stages: ...@@ -40,12 +40,6 @@ stages:
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
after_script: after_script:
- python3 CI/cdash_handler.py - python3 CI/cdash_handler.py
artifacts:
when: on_failure
expire_in: 24 hrs
paths:
- build/*/*.log #CMake log
- log/*.txt # Others
fast-build: fast-build:
extends: .common extends: .common
...@@ -67,7 +61,15 @@ fast-build: ...@@ -67,7 +61,15 @@ fast-build:
- develop - develop
- /^release-[0-9]+\.[0-9]+$/ - /^release-[0-9]+\.[0-9]+$/
stage: build stage: build
artifacts:
when: always
expire_in: 24 hrs
paths:
- build/*/*.log #CMake log
- log/*.txt # Others
- build/CookBook-*-html.tar.gz
- build/Documentation/Cookbook/latex/CookBook-*.pdf
- build/Documentation/Doxygen/OTB-Doxygen-*.tar.bz2
debian-build: debian-build:
extends: .common-build extends: .common-build
...@@ -83,10 +85,10 @@ debian-build: ...@@ -83,10 +85,10 @@ debian-build:
- /^release-[0-9]+\.[0-9]+$/ - /^release-[0-9]+\.[0-9]+$/
stage: prepare stage: prepare
before_script: before_script:
- git checkout -f -q $CI_COMMIT_SHA
- git lfs install --skip-repo - git lfs install --skip-repo
- git config --global user.email "otbbot@orfeo-toolbox.org" - export GIT_LFS_SKIP_SMUDGE=1
- git config --global user.name "otbbot" - git checkout -f -q $CI_COMMIT_SHA
- export GIT_LFS_SKIP_SMUDGE=0
artifacts: artifacts:
expire_in: 24 hrs expire_in: 24 hrs
when: always when: always
...@@ -138,8 +140,6 @@ macos-xdk-prepare: ...@@ -138,8 +140,6 @@ macos-xdk-prepare:
extends: .common-prepare extends: .common-prepare
before_script: before_script:
# No need to install lfs as this machine is persistent # No need to install lfs as this machine is persistent
# No need to do git config
# Checkout the expected branch
- export GIT_LFS_SKIP_SMUDGE=1 - export GIT_LFS_SKIP_SMUDGE=1
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
- export GIT_LFS_SKIP_SMUDGE=0 - export GIT_LFS_SKIP_SMUDGE=0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment