Jenkins

Jenkins에서 gitignore 된 application.properties 참조하기

공부 기록장 2024. 11. 30. 19:40

1. 프로젝트에서 application.properties → Open in Explorer

 

 

 

 

 

2. 파일 다운받기

 

 

 

 

 

 

3. Jenkins에서 Credential 추가 

   Kind - Secret file

   Scope - 기본값 그대로

   File - 다운받은 파일

   ID - 스크립트에서 구별할 수 있는 이름으로 설정

   Description - 설명(선택사항)