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

MtnBill
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).

Thanks.

--
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 https://groups.google.com/d/msgid/jenkinsci-users/8814cb77-d587-4888-b6d0-6c1e25b09449n%40googlegroups.com.