Skip to content

Commit

Permalink
CI: Select only one run UUID, make sure directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored and mgxd committed Sep 13, 2022
1 parent 67219e9 commit 98f8849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,8 @@ jobs:
set -x
sudo mv /tmp/${DATASET}/derivatives/fmriprep/sub-100185.html \
/tmp/${DATASET}/derivatives/fmriprep/sub-100185_noerror.html
UUID=$(grep uuid /tmp/${DATASET}/work/*/config.toml | cut -d\" -f 2)
UUID=$(grep uuid /tmp/${DATASET}/work/*/config.toml | cut -d\" -f 2 | tail -n 1)
mkdir -p /tmp/${DATASET}/derivatives/fmriprep/sub-100185/log/$UUID/
cp /tmp/src/fmriprep/fmriprep/data/tests/crash_files/*.txt \
/tmp/${DATASET}/derivatives/fmriprep/sub-100185/log/$UUID/
set +e
Expand Down

0 comments on commit 98f8849

Please sign in to comment.