Work in progress
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
tmp_dir=/home/pluehne/tmp
|
||||
|
||||
echo "job ID: $JOB_ID"
|
||||
echo "result repository: $GIT_REMOTE_URL"
|
||||
|
||||
mkdir -p "$tmp_dir"
|
||||
dir="$tmp_dir"/"$JOB_BRANCH_NAME"
|
||||
|
||||
|
@@ -50,6 +50,7 @@ fn main()
|
||||
Command::new("sbatch")
|
||||
.args(&["/home/pluehne/test-job.sh"])
|
||||
.env("GIT_REMOTE_URL", &format!("file://{}", fs::canonicalize(&result_repository).unwrap().display()))
|
||||
.env("JOB_ID", format!("{}", i))
|
||||
.output()
|
||||
.expect("Could not execute command");
|
||||
|
||||
|
Reference in New Issue
Block a user