Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1012 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 1012 Bytes

cors-plugin

Jenkins CORS plugin

Extend Jenkins to supply CORS header. Use system properties to override defaults:

CORS header System property Default
Access-Control-Allow-Origin cors.origin *
Access-Control-Allow-Methods cors.methods GET, POST, PUT, DELETE
Access-Control-Allow-Headers cors.headers Authorization

Installing

  1. Install the latest version of Maven
  2. Download and extract the source for this project
  3. open a terminal and cd to the place you extracted the project
  4. maven with the project folder as cwd
  5. Open http://jenkins/updateCenter/advanced - The advanced tab of jenkins plugins
  6. Upload cors.hpi from project/targets to the jenkins instance
  7. Restart jenkins