Secure Post Script

ID: secure-post-script

Build Status Contributors Jenkins Plugin GitHub release Jenkins Plugin Installs

Introduction

This plugin allows you to configure a global groovy script with assistance of secure-script plugins, and at which condition the script will be executed. secure post script configuration

Variables could be used in groovy script

- All Jenkins Environment Variables are available(use `printenv` to print out).
- `out.println()` could be used to print out information on build log.

Getting started

sample code

out.println("Job: $JOB_NAME build number: $BUILD_NUMBER has been built on $NODE_NAME ")

Caution: All scripts have to be approved before it can be executed by this plugin. you could go to page https://jenkins-domain/scriptApproval to approve scripts. Otherwise, you'll see an error message: Failed to execute groovy script configured by 'secure post script' plugin. Script not yet approved for me.

Contributing

Refer to our contribution guidelines

LICENSE

Licensed under MIT, see LICENSE