Yes. You can, but remember to put your if condition inside a script element.
Regards, Venkatesh On Wed, Oct 7, 2020 at 1:15 PM john levin <[email protected]> wrote: > Hello Team, > > Shall we put a if condition in post build actions to trigger other jobs if > condition matches. > > Say for example > > If date matches Wednesday, trigger the other job in post build actions. > > /John > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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-users/CAGJXh7rapeQOcK_NuW1UYpre%3DM5kE%3DKaG0bX47LsTwBz_M_WNg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAGJXh7rapeQOcK_NuW1UYpre%3DM5kE%3DKaG0bX47LsTwBz_M_WNg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAPp28erU4%2B9gwuD1PKzLQM_8OjJM_F9rACRCOYh2XowQv154tg%40mail.gmail.com.
