Example - Confluence page update

 

 

Build output
Build XXX-CLIP1-JOB1-2 started building on agent Agent2
Build working directory is /Applications/atlassian/bamboo-4.2.0/home/xml-data/build-dir/XXX-CLIP1-JOB1
Executing build XXX-CLIP1-JOB1-2
Running pre-build action: Build Number Stamper
Running pre-build action: Clover Grails PreBuild Action
Running pre-build action: VCS Version Collector
Running pre-build action: Repository Isolation Enabler Action
Running pre-build action: Maven Settings Prebuild Action
Starting task 'CLI integration automation' of type 'org.swift.bamboo.acli:confluence'
--action run --server http://imac2.local:8116  --user automation --password ***
@DATA:
--action getServerInfo
--action getClientInfo
--action storePage --space experiment --title "Bamboo CLI Plugin test page" --content "Just an example"
Requested action: --action run --server http://imac2.local:8116  --user automation --password ***
Action exit code: SUCCESS
Action output:

Run: --action getServerInfo
Confluence version: 4.1.7, build: 3145, url: http://imac2.local:8116
Run: --action getClientInfo
Client version: 3.0.0, Java: Java HotSpot(TM) 64-Bit Server VM 1.6.0_33, OS: Mac OS X 10.7.4
Run: --action storePage --space experiment --title "Bamboo CLI Plugin test page" --content "Just an example"
Page updated: 'Bamboo CLI Plugin test page'.  Page has id: 78086525
Run completed successfully. 3 actions were successful
Finished task 'CLI integration automation'
Running post build plugin 'NCover Results Collector'
Running post build plugin 'Clover Results Collector'
Running post build plugin 'Artifact Copier'
Running post build plugin 'Cleanup Build Processor'
Finalising the build...
Stopping timer.
Build XXX-CLIP1-JOB1-2 completed.
Running on server: post build plugin 'NCover Results Collector'
Running on server: post build plugin 'Clover Delta Calculator'
Running on server: post build plugin 'Build Hanging Detection Configuration'
Running on server: post build plugin 'Maven Dependencies Postprocessor'
All post build plugins have finished
Generating build results summary...
Saving build results to disk...
Indexing build results...
Finished building XXX-CLIP1-JOB1-2.