Job Lifecycle Plugins

40 views
Skip to first unread message

mezam

unread,
Sep 3, 2024, 10:24:21 AMSep 3
to rundeck-discuss
Hello, are the Job Lifecycle Plugins for Enterprise version only? 
I've add the line rundeck.feature.jobLifecyclePlugin.enabled=true to the rundeck-config.properties and restarted the rundeck service, but on the project configuration page I don't see any tab named Job Lifecycle Plugins. I have RD 4.17 on Win 2019 Srv

mezam

unread,
Sep 3, 2024, 10:35:49 AMSep 3
to rundeck-discuss
also, I must admit that I don't see the plugins in the rundeck\libext folder:
2024-09-03_163424.jpg

rac...@rundeck.com

unread,
Sep 3, 2024, 11:19:28 AMSep 3
to rundeck-discuss
Hi,

The "Job Lifecycle Plugin" is not a plugin per se, it is a sort of plugin you can develop depending on your needs. There is a good explanation here. Also, check an example here.

Regards.

mezam

unread,
Sep 3, 2024, 11:25:14 AMSep 3
to rundeck-discuss
thanks!

Paulo Motta

unread,
Sep 3, 2024, 1:13:21 PMSep 3
to rundeck-discuss
What's a good example of use case for this? 

rac...@rundeck.com

unread,
Sep 3, 2024, 4:20:05 PMSep 3
to rundeck-discuss

Hi,

For example: you need a certain condition to execute a job. i.e.: a specific value in an option. If that option matches with the desired value, then you can execute the job.

framework.plugin.JobLifecycle.example.optionName=opt1 framework.plugin.JobLifecycle.example.secretValue=123

This allows you to execute the job only if the opt1 contains the 123 value.

Greetings.

Reply all
Reply to author
Forward
0 new messages