Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 80cae631 authored by Michael Ott's avatar Michael Ott
Browse files

Also parse SLURM_JOBID for SLURM job id

parent cc366861
......@@ -224,8 +224,12 @@ int main(int argc, char** argv) {
if(ts==0)
ts = getTimestamp();
if(jobId=="")
if(jobId=="") {
jobId = getEnv("SLURM_JOB_ID");
if(jobId=="") {
jobId = getEnv("SLURM_JOBID");
}
}
if (boost::iequals(argv[argc-1], "start")) {
......
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