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 |
- Install the latest version of Maven
- Download and extract the source for this project
- open a terminal and
cd
to the place you extracted the project maven
with the project folder as cwd- Open
http://jenkins/updateCenter/advanced
- The advanced tab of jenkins plugins - Upload cors.hpi from project/targets to the jenkins instance
- Restart jenkins