How to get console log of current stage?

20 views
Skip to first unread message

Gajanan Mahajan

unread,
Jul 10, 2020, 1:00:07 AM7/10/20
to Jenkins Users
In Jenkins pipeline, we can get console log of current build with following - 

    String logData = currentBuild.rawBuild.getLog(X)

Is there a way to get only log of current stage?
Reply all
Reply to author
Forward
0 new messages