Logo

dev-resources.site

for different kinds of informations.

Powershell Confluence Scripts

Published at
4/25/2022
Categories
confluence
powershell
devops
Author
Antonio Di Motta
Categories
3 categories in total
confluence
open
powershell
open
devops
open
Powershell Confluence Scripts

As a devops sometimes I need to create small scripts to include in my pipelines for managing recurring tasks. To carry out this kind of activity powershell provides great features to develop script quickly.

Lately, I needed to create a Confluence's page as the last task of a pipeline with some information reported on it, so I decided to create a small library for this purpose.

The library needs of a Atlassian api token which is provided by https://id.atlassian.com/manage-profile/security/api-tokens

Here are some examples of using the library.

define env variables
page creation
get page content confluence
update page content confluence

Featured ones: