What type of action is it?  Something extending a transientaction won't persist.
You shoudn't need to, especially since it'll be done after a build
finishes, but you could call build.save()
How are you confirming the action has disappeared?

On Mon, Jul 25, 2022 at 2:33 PM Nozim Islamov
<[email protected]> wrote:
>
> Hello everyone, hope you guys having a good day, I have a question, I have an 
> action, this action is added during build step, it adds up new action to the 
> build, and after Jenkins restart, all added actions disappear, what could be 
> a solution to keep added actions even after restart?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/7226673c-6f0e-4429-a557-ac4789abea8cn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_Duvuk3Fev2B8VBfUPk42BQwWrh7Ba502SA623Vgyx8O%2Baw%40mail.gmail.com.

Reply via email to