From b04f9b809279b86c7aa5d4901672d490d7175964 Mon Sep 17 00:00:00 2001 From: elliotzh <37076709+elliotzh@users.noreply.github.com> Date: Thu, 14 Jul 2022 18:01:01 +0800 Subject: [PATCH] fix: force rerun pipeline jobs (#1486) * fix: force rerun pipeline jobs --- cli/run-job.sh | 2 +- cli/run-pipeline-jobs.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 cli/run-pipeline-jobs.sh diff --git a/cli/run-job.sh b/cli/run-job.sh index 4b33dd105f4..92cede5370a 100644 --- a/cli/run-job.sh +++ b/cli/run-job.sh @@ -1,7 +1,7 @@ job=$1 if [[ -z "$2" ]] then - if [[ "$job" =~ ^jobs/pipelines-with-components/.* ]] + if [[ "$job" =~ pipeline.yml ]] then run_id=$(az ml job create -f $job --query name -o tsv --set settings.force_rerun=True) else diff --git a/cli/run-pipeline-jobs.sh b/cli/run-pipeline-jobs.sh new file mode 100644 index 00000000000..e69de29bb2d