Unable to provide Operator (AND, OR) in Post Build Task using FreeStyleJob DSL

23 views
Skip to first unread message

Dilip Kumar

unread,
Sep 10, 2020, 11:24:54 AM9/10/20
to job-dsl-plugin
DSLpostbuildsteps.png
Hi All,

I am using FreeStyleJob, when I try to configure Post Build Task, I am not able to provide operator AND, OR in the Post Build Task.

publishers {
        postBuildTask {
            task("BUILD FAILED Or FAILED", "npm run report")
        }
    }

postbuildsteps.png

Can you please help me on configuring Operation for post build task?

Thanks,
Dilip Kumar N
Reply all
Reply to author
Forward
0 new messages