1.Crowd 설정
1)Crowd에 bamboo 기본 그룹 생성
2)Bamboo Application 생성
2.Bamboo 설정
1)Bamboo Base URL 설정
2) 관리자 계정 로그인 -> 우측 기어아이콘 클릭 후 User management 선택 -> SECURITY탭에서 User repositories 클릭 -> users and groups from JIRA or Crowd 옵션 선택 -> crowd Appliction 정보 입력
3) Bamboo 서비스 중지
4) Copy the Crowd client libraries and configuration files to Bamboo:
Copy From | Copy To |
---|---|
CROWD/client/crowd-integration-client-X.X.X.jar | BAMBOO/webapp/WEB-INF/lib (No need to copy any crowd .jar files over for the latest Bamboo versions (after 4.0) as they already contain the needed jar files to work with Crowd) |
CROWD/client/conf/crowd.properties | BAMBOO/webapp/WEB-INF/classes (Bamboo 3.1 and earlier) or $BAMBOO_HOME/xml-data/configuration (Bamboo 3.2 or later) Crowd application id, password 수정 |
CROWD/client/conf/crowd-ehcache.xml | BAMBOO/webapp/WEB-INF/classes (Bamboo 3.1 and earlier) or $BAMBOO_HOME/xml-data/configuration (Bamboo 3.2 or later) |
5) <bamboo install directory>/atlassian-bamboo/WEB-INF/classes/seraph-config.xml 수정
주석 전 | <authenticator class="com.atlassian.bamboo.user.authentication.BambooAuthenticator"/> |
주석 후 | <!-- <authenticator class="com.atlassian.bamboo.user.authentication.BambooAuthenticator"/> --> |
<authenticator class="com.atlassian.crowd.integration.seraph.v25.BambooAuthenticator"/>
[ 설정 화면 ]
6) Edit the atlassian-user.xml
file (found in BAMBOO/webapp/WEB-INF/classes
(Bamboo 3.1 and earlier) or $BAMBOO_HOME/xml-data/configuration
(Bamboo 3.2 or later)) so that the contents of the file is:
<atlassian-user> <repositories> <crowd key="crowd" name="Crowd Repository"/> </repositories> </atlassian-user> |
7) Bamboo 서비스 기동
Atlassian 참고 URL
https://confluence.atlassian.com/crowd/integrating-crowd-with-atlassian-bamboo-198785.html
https://confluence.atlassian.com/bamboo/integrating-bamboo-with-crowd-289277217.html