Clean up /tmp after job finishes

3 jobs for clean-tmp-on-node in 1 minute and 31 seconds
Status Name Job ID Coverage
  Build
passed build_docs #243580

00:00:49

failed build_program #243579

00:01:31

 
  Test
skipped test_program #243581
 
Name Stage Failure
failed
build_program Build
  116 |     newScriptS << oldScriptS.rdbuf();
| ~~~~~~~~~~
[ 84%] Building CXX object tests/CMakeFiles/gitlab-hpc-driver-tests.dir/__/src/logging.cpp.o
make[2]: *** [tests/CMakeFiles/gitlab-hpc-driver-tests.dir/build.make:225: tests/CMakeFiles/gitlab-hpc-driver-tests.dir/__/src/SlurmJob.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:189: tests/CMakeFiles/gitlab-hpc-driver-tests.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
Cleaning up file based variables
ERROR: Job failed: exit code 1