Jenkins CORS plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
src/main
.gitignore
LICENSE
LICENSE.GPL
README.md
cors.iml
pom.xml

README.md

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