5579395bc3
Updates the PostBuildScript plugin to support the 2.x version which had a major overhaul of the XML output for the plugin. Change-Id: I9ff3161bc50be236013e32f3ca9ad81b38004dc8 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
publishers:
|
|
- postbuildscript:
|
|
mark-unstable-if-failed: true
|
|
generic-script:
|
|
- file-path: '/fakepath/generic'
|
|
role: MASTER
|
|
build-on:
|
|
- SUCCESS
|
|
- UNSTABLE
|
|
- file-path: '/fakepath/generic-two'
|
|
role: SLAVE
|
|
build-on:
|
|
- NOT_BUILT
|
|
- ABORTED
|
|
- FAILURE
|
|
groovy-script:
|
|
- file-path: '/fakepath/groovy'
|
|
role: MASTER
|
|
build-on:
|
|
- SUCCESS
|
|
- UNSTABLE
|
|
- file-path: '/fakepath/groovy-too'
|
|
role: SLAVE
|
|
build-on:
|
|
- NOT_BUILT
|
|
- ABORTED
|
|
- FAILURE
|
|
groovy:
|
|
- role: MASTER
|
|
build-on:
|
|
- SUCCESS
|
|
- UNSTABLE
|
|
content: 'println "Hello world!"'
|
|
- role: SLAVE
|
|
build-on:
|
|
- NOT_BUILT
|
|
- ABORTED
|
|
- FAILURE
|
|
content: |
|
|
println "Hello world!"
|
|
println "Multi-line script"
|
|
|
|
builders:
|
|
- role: MASTER
|
|
build-on:
|
|
- SUCCESS
|
|
- UNSTABLE
|
|
build-steps:
|
|
- shell: 'echo "Hello world!"'
|
|
- role: SLAVE
|
|
build-on:
|
|
- NOT_BUILT
|
|
- ABORTED
|
|
- FAILURE
|
|
build-steps:
|
|
- shell: 'echo "Hello world!"'
|
|
- shell: 'echo "Goodbye world!"'
|