[JIRA] (JENKINS-59144) cleanWs in pipeline post block rendered after every stage

1 view
Skip to first unread message

medianick@gmail.com (JIRA)

unread,
Aug 29, 2019, 2:17:03 PM8/29/19
to jenkinsc...@googlegroups.com
Nick Jones created an issue
 
Jenkins / Bug JENKINS-59144
cleanWs in pipeline post block rendered after every stage
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2019-08-29-14-13-49-006.png
Components: blueocean-plugin
Created: 2019-08-29 18:16
Environment: Jenkins 2.176.2, Blue Ocean 1.18.1
Priority: Minor Minor
Reporter: Nick Jones

We have a pipeline with a single pipeline-level post block to do a workspace cleanup upon success:

    post {
        success {
            cleanWs deleteDirs: true
        }
    }

The rest of the pipeline has a variety of sequential and parallel stages – I can supply some specifics if they might be significant. However, every stage as rendered in the Blue Ocean UI shows a final step of "true – Delete workspace when build is done", complete with the corresponding console log from this:

The console log from the classic UI confirms that this step is only occurring once, at the very end (as expected).

I saw JENKINS-47251 as a similar issue but resolved, and perhaps specific to the use of a script block.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages