diff --git a/examples/test.rs b/examples/test.rs index ded0885..10250f6 100644 --- a/examples/test.rs +++ b/examples/test.rs @@ -4,6 +4,7 @@ extern crate yaml_rust; use benchmark_repository::BenchmarkRepository; +use std::fs; use std::path::Path; use std::process::Command; @@ -49,6 +50,7 @@ fn main() Command::new("sbatch") .args(&["/home/pluehne/test-job.sh"]) .env("JOB_BRANCH_NAME", &branch_name) + .env("GIT_REMOTE_URL", &format!("file://{}", fs::canonicalize(&Path::new("storage")).unwrap().display())) .output() .expect("Could not execute command");