Skip to content
Snippets Groups Projects
Unverified Commit a6e645e0 authored by Wouter Deconinck's avatar Wouter Deconinck Committed by GitHub
Browse files

fix: mv script to after_script in base job defs

parent 22717886
No related tags found
No related merge requests found
Pipeline #120730 failed
......@@ -133,14 +133,14 @@ get_data:
.det_benchmark:bench:
extends: .det_benchmark
stage: benchmarks
script:
after_script:
- snakemake $SNAKEMAKE_FLAGS --cores 1 ${BENCHMARK_DIR}/$(echo ${CI_JOB_NAME} | rev | cut -d: -f1 | rev)
.det_benchmark:collect:
extends: .det_benchmark
stage: collect
when: always
script:
after_script:
- ls -lrht
- mv results{,_save}/ # move results directory out of the way to preserve it
- snakemake $SNAKEMAKE_FLAGS --cores 1 --delete-all-output ${BENCHMARK_DIR}/$(echo ${CI_JOB_NAME} | rev | cut -d: -f1 | rev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment