Confluence Publisher plugin: publishConfluence return value

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Confluence Publisher plugin: publishConfluence return value

In order to create nested new pages, I need to get the new page-Id from the first new one to pass as the parentId when creating its child.
However, if I do the following:
    topPageId = 332914247
    newTop = publishConfluence siteName: ....., parentId: topPageId , ...
It successfully creates the first new page, but newTop has no value, so I cannot create an additional page under it.

Am I doing something silly, or does the plug-in just not support that?
And if the latter, does anyone have suggestions for a workaround (preferably not making my own independent REST calls).


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 [hidden email].
To view this discussion on the web visit