From 39b69a07b51f20bf5e80faae708368e293399ec9 Mon Sep 17 00:00:00 2001 From: Forrest Evans Date: Wed, 11 Jan 2023 11:13:54 -0800 Subject: [PATCH] keep `preserve` on job UID --- client/rundeck-cli/src/commands/loadProject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/rundeck-cli/src/commands/loadProject.ts b/client/rundeck-cli/src/commands/loadProject.ts index 575fdd6..1813883 100644 --- a/client/rundeck-cli/src/commands/loadProject.ts +++ b/client/rundeck-cli/src/commands/loadProject.ts @@ -216,7 +216,7 @@ builder(yargs: Argv) { 'Content-Type': 'application/zip', } - fetch(`${rundeckUrl}/api/38/project/${project_name}/import?importConfig=true&importACL=true&jobUuidOption=remove&importWebhooks=true`, + fetch(`${rundeckUrl}/api/38/project/${project_name}/import?importConfig=true&importACL=true&jobUuidOption=preserve&importWebhooks=true`, { method: 'PUT', body: file, headers:headers, }) //.then(res => console.log(res));