티스토리 뷰
pom.xml
<profile>
<id>dev</id>
<build>
<filters>
<filter>src/main/filters/dev.properties</filter>
</filters>
</build>
</profile>
<profile>
<id>svc</id>
<build>
<filters>
<filter>src/main/filters/svc.properties</filter>
</filters>
</build>
</profile>
</profiles>
dev.properties 샘플
db.driver=oracle.jdbc.OracleDriver
db.url=jdbc:oracle:thin:@IP:PORT:SID
db.username=username
db.password=passwd
jenkins 배포 시
Build > Goals and options 에서 'clean package -P svc' 설정
개발일 경우 'clean package -P dev'
'Develop > Framework' 카테고리의 다른 글
Spring Boot: How to get property value (application.properties) (0) | 2019.01.30 |
---|---|
PageRequest 정렬 조건 여러개 넣기 (0) | 2017.05.23 |
[Play Framework] Play 1.x Manual Transaction Sample (0) | 2017.01.24 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Jenkins
- rsync
- groovy
- Thread Dump
- 젠킨스
- Ansible
- iTerm2
- PostgreSQL
- ssl
- 데브옵스
- DevOps
- openssl
- Playbook
- nginx
- 플레이북
- Linux
- URL Encoding
- Docker
- 엔서블
- 쓰레드덤프
- Config History
- vagrant
- JVM
- Password manager
- Shell Script
- 리눅스
- rundeck
- 엔시블
- Nexus
- 파이프라인
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
글 보관함