This plugin allows using Atlassian Crowd or JIRA as an authentication and authorization provider for Jenkins (Crowd version 2 and later).
- Add a new generic application in Crowd like described in the official docs.
- In Jenkins navigate to Manage Jenkins -> Manage Plugins -> Available, and search for "Crowd 2 Integration". Install this plugin.
- In Jenkins navigate to Manage Jenkins -> Configure Global Security. Tick Enable Security and select Crowd 2 as your Security Realm.
- Insert your Crowd URL and the application credentials you created in step 1.
This plugin works well with Matrix Authorization Strategy Plugin: You can use Crowd users and groups to define permissions on folder/pipeline/job level.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
git clone https://github.com/pingunaut/crowd2-plugin/
cd crowd2-plugin
mvn install
# to start the plugin in a local embedded test environment, run
mvn hpi:run
To start the plugin in a local test environment, run
mvn hpi:run
To start a local build of the plugin in a standalone test environment, run
mvn install
then upload the resulting .hpi file (target/crowd2-VERSION.hpi) like described in the official documentation.
We use SemVer for versioning (starting from version 2.0.0). For the versions available, see the tags on this repository.
See the list of contributors who participated in this project.
The following changes and improvements are planned for the following releases
- add Jenkinsfile to run an automated build
- Merge open pull requests to fix caching and httpclient to solve performance and compatibility issues
- Update to latest libs
- Add some unit tests
- Improve test coverage
- Pickup changes from the refactoring branch
- Make RememberMe work
- Make SSO work
- Work on the open JIRA issues
This project is licensed under the MIT License - see the LICENSE file for details