1.Crowd 설정
1) Crowd에 bamboo 기본 그룹 생성
- bamboo-admin
- bamboo-user (optional)
2) Bamboo Application 생성
- Application Name 과 Password는 User Directory 설정에 사용할 예정
2.Bamboo 설정
1) Bamboo Base URL 설정
- 관리자 계정 로그인 -> 우측 기어아이콘 클릭 후 Overview → General configuration → Base URL 정보를 도메인으로 설정
2) 관리자 계정 로그인 -> 우측 기어아이콘 클릭 후 User management 선택 -> SECURITY탭에서 User repositories 클릭 -> users and groups from JIRA or Crowd 옵션 선택 -> crowd Appliction 정보 입력
- Save 완료 후 Synchronize now 실행
3) Bamboo 서비스 중지
4) Copy the Crowd client libraries and configuration files to Bamboo:Crowd 설정 파일을 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)lib (Bamboo 4.0이후 버전은 jar파일이 이미 포함되어 있으므로 생략해도 된다.) | |||||
CROWD/client/conf/crowd.properties | Bamboo 3.1 이하 버전 : BAMBOO/webapp/WEB-INF/classes Bamboo 3. 2 이상 버전 : BAMBOO_HOME/xml-data/configuration Crowd
| |||||
CROWD/client/conf/crowd-ehcache.xml | Bamboo 3.1 이하 버전 : BAMBOO/webapp/WEB-INF/classes (Bamboo 3.1 and earlier) or $2 이상 버전 : BAMBOO_HOME/xml-data/configuration (Bamboo 3.2 or later) |
5) <bamboo install directory>/atlassian-bamboo/WEB-INF/classes/seraph-config.xml 수정
- 56라인 주석 처리
주석 전 | <authenticator class="com.atlassian.bamboo.user.authentication.BambooAuthenticator"/> |
주석 후 | <!-- <authenticator class="com.atlassian.bamboo.user.authentication.BambooAuthenticator"/> --> |
- 57라인에 아래 내용 추가
<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:
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