From 669ec9478bfdf8bd9405dc14cd83e02b9345c7d0 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Tue, 25 Jun 2019 15:08:09 -0700 Subject: [PATCH 01/14] use incremental plugin version from durable task pr92 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6a688ffa..eff7bfd1 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.29 + 1.30-rc497.f19493358d38 org.jenkins-ci.plugins.workflow From 49cacf9f13f2907e4079bd5e3882759ddf9c7139 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Thu, 1 Aug 2019 23:46:21 -0700 Subject: [PATCH 02/14] Update durable task version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eff7bfd1..d453c047 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.30-rc497.f19493358d38 + 1.30--rc433.ef70f1891bb1 org.jenkins-ci.plugins.workflow From 968928de1cec943bc7d394333532d0a8ab3273df Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Thu, 1 Aug 2019 23:46:45 -0700 Subject: [PATCH 03/14] fix typo --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d453c047..3e0bb6d5 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.30--rc433.ef70f1891bb1 + 1.30-rc433.ef70f1891bb1 org.jenkins-ci.plugins.workflow From dbd99c989f71f3076c375c8df2f88bda62900e28 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Fri, 2 Aug 2019 08:17:40 -0700 Subject: [PATCH 04/14] update durable task version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3e0bb6d5..e198a382 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.30-rc433.ef70f1891bb1 + 1.31-rc433.ef70f1891bb1 org.jenkins-ci.plugins.workflow From a7f527d95dff920f4cbbb8afc0cb990dd5681be4 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Thu, 15 Aug 2019 14:35:38 -0700 Subject: [PATCH 05/14] update durable-task dependency to PR-106 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e198a382..abfd59f3 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-rc433.ef70f1891bb1 + 1.31-20190815.205652-1 org.jenkins-ci.plugins.workflow From eb5f5b60860d885006e5c6522c63364b473a01c2 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Fri, 16 Aug 2019 08:40:33 -0700 Subject: [PATCH 06/14] Update durable-task dependency --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index abfd59f3..b95f783f 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-20190815.205652-1 + 1.31-rc446.02b26c878369 org.jenkins-ci.plugins.workflow From c9cfeeca8bf5f431f648b4d092da6681f134e323 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Fri, 16 Aug 2019 08:46:24 -0700 Subject: [PATCH 07/14] Revert "Update durable-task dependency" This reverts commit d4092bdd2c5265d31946f46ea06a29e1e07b63c2. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b95f783f..abfd59f3 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-rc446.02b26c878369 + 1.31-20190815.205652-1 org.jenkins-ci.plugins.workflow From 025e06e46e19f1d2ab046a657bed00a23bff1c4d Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Sat, 17 Aug 2019 14:08:55 -0700 Subject: [PATCH 08/14] Update durable-task dependency. Add note indicating potential zombie --- pom.xml | 2 +- .../workflow/steps/durable_task/ShellStep/help-script.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index abfd59f3..ebfe5b45 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-20190815.205652-1 + 1.31-rc445.59ba6253ff0d org.jenkins-ci.plugins.workflow diff --git a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html index 908c2653..d870c03a 100644 --- a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html +++ b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html @@ -9,4 +9,10 @@ Otherwise the system default shell will be run, using the -xe flags (you can specify set +e and/or set +x to disable those).

+

+ NOTE: The script is launched and monitored using a binary with the prefix durable-task-monitor-. + Because the binary is launched as a background process, please ensure that the target script environment + is able to reap orphaned processes (i.e. zombie-reaping). For example, in docker, you may use the + --init flag, while in kubernetes, you may leverage shared namespaces and use the pause container. +

\ No newline at end of file From 2be3f3db24d27c8d3f02bc343f16497cd2a31906 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Mon, 19 Aug 2019 11:32:05 -0700 Subject: [PATCH 09/14] Add official docs reference --- .../steps/durable_task/ShellStep/help-script.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html index d870c03a..edc4c7e5 100644 --- a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html +++ b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html @@ -12,7 +12,11 @@

NOTE: The script is launched and monitored using a binary with the prefix durable-task-monitor-. Because the binary is launched as a background process, please ensure that the target script environment - is able to reap orphaned processes (i.e. zombie-reaping). For example, in docker, you may use the - --init flag, while in kubernetes, you may leverage shared namespaces and use the pause container. + is able to reap orphaned processes (i.e. zombie-reaping). For example, in Docker, you may use the + --init flag, + while in Kubernetes, you may leverage + shared process namespace. + With shared process namespaces, the pod sandbox will be assigned PID 1 and assume + zombie-reaping responsibilities.

\ No newline at end of file From d88be23fb914546c4f52d78f6103552fd984907a Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Fri, 23 Aug 2019 02:39:33 -0700 Subject: [PATCH 10/14] Update durable-task dependency. Remove link to source code --- pom.xml | 2 +- .../workflow/steps/durable_task/ShellStep/help-script.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index ebfe5b45..cdda5209 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-rc445.59ba6253ff0d + 1.31-rc448.656c265a81e2 org.jenkins-ci.plugins.workflow diff --git a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html index edc4c7e5..331bf53b 100644 --- a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html +++ b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html @@ -16,7 +16,6 @@ --init flag, while in Kubernetes, you may leverage shared process namespace. - With shared process namespaces, the pod sandbox will be assigned PID 1 and assume - zombie-reaping responsibilities. + With shared process namespaces, the pod sandbox will be assigned PID 1 and assume zombie-reaping responsibilities.

\ No newline at end of file From 0f11f1f6c0841e3bd323ce402b0768fed88fd14a Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Fri, 18 Oct 2019 23:26:52 -0700 Subject: [PATCH 11/14] Update durable-task incremental. Update Shell step help --- pom.xml | 2 +- .../steps/durable_task/ShellStep/help-script.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index cdda5209..160a23b2 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-rc448.656c265a81e2 + 1.31-rc454.3c49beecaaa8 org.jenkins-ci.plugins.workflow diff --git a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html index 331bf53b..443bdfe5 100644 --- a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html +++ b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html @@ -10,12 +10,14 @@ (you can specify set +e and/or set +x to disable those).

- NOTE: The script is launched and monitored using a binary with the prefix durable-task-monitor-. - Because the binary is launched as a background process, please ensure that the target script environment - is able to reap orphaned processes (i.e. zombie-reaping). For example, in Docker, you may use the + NOTE: Depending on the underlying OS, the script is launched and monitored using a binary (for *NIX) with the + prefix durable-task-monitor- or a shell wrapper (all other environments). + Because the binary/shell wrapper is launched as a background process, please ensure that the target script + environment is able to reap orphaned processes (i.e. zombie-reaping). For example, in Docker, you may use the --init flag, while in Kubernetes, you may leverage shared process namespace. With shared process namespaces, the pod sandbox will be assigned PID 1 and assume zombie-reaping responsibilities. + To force durable-task to always use the shell wrapper, you may set the environment variable FORCE_SHELL_WRAPPER as true.

\ No newline at end of file From 1c097ac64d68ead9ffd2dfb2171af3c4a36b412d Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Tue, 22 Oct 2019 13:17:32 -0700 Subject: [PATCH 12/14] update to durable-task 1.31 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 160a23b2..e33035d9 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31-rc454.3c49beecaaa8 + 1.31 org.jenkins-ci.plugins.workflow From fbdacaab318abd04bf757776e60bf01f66a9bcb6 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Mon, 28 Oct 2019 10:40:49 -0700 Subject: [PATCH 13/14] update help --- .../workflow/steps/durable_task/ShellStep/help-script.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html index 443bdfe5..9649e8ac 100644 --- a/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html +++ b/src/main/resources/org/jenkinsci/plugins/workflow/steps/durable_task/ShellStep/help-script.html @@ -18,6 +18,7 @@ while in Kubernetes, you may leverage shared process namespace. With shared process namespaces, the pod sandbox will be assigned PID 1 and assume zombie-reaping responsibilities. - To force durable-task to always use the shell wrapper, you may set the environment variable FORCE_SHELL_WRAPPER as true. + To force durable-task to always use the shell wrapper, pass the system property + `org.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_SHELL_WRAPPER=true` to the Java command line used to start Jenkins.

\ No newline at end of file From dc2187e4cb6bf81c317dcf4418aaad42bef45199 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Tue, 29 Oct 2019 22:58:29 -0700 Subject: [PATCH 14/14] update durable-task to 1.33 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e33035d9..ab16de25 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.jenkins-ci.plugins durable-task - 1.31 + 1.33 org.jenkins-ci.plugins.workflow