문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
ci:jenkins:env [2022/03/08 15:52] kwon37xi |
ci:jenkins:env [2022/03/08 16:08] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
- | ====== Jenkins Environment Variable ====== | + | ====== Jenkins Environment Variable |
- | ===== Custom | + | ===== Global |
+ | * **Jenkins 관리 -> 시스템 설정 -> Global Properties** 에서 **Environment Variables** 항목을 추가한다. | ||
- | ===== Environment Injector | + | ===== Jenkinsfile |
- | * https://plugins.jenkins.io/ | + | * [[ci:jenkins: |
+ | <code groovy> | ||
+ | pipeline { | ||
+ | //Setting the environment variables DISABLE_AUTH and DB_ENGINE | ||
+ | environment { | ||
+ | DISABLE_AUTH = ' | ||
+ | DB_ENGINE | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | ===== Environment Injector ===== | ||
+ | * https:// | ||
- | ===== 참조 ===== | ||
- | * [[https:// | ||
+ | ===== 참조 ===== | ||
+ | * [[https:// |