Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 방콕
- Python
- 체코
- Selenium
- PayPay
- react.js
- duckdb
- javascript
- codebuild
- documentdb
- 페이페이
- terraform
- typescript
- CSV
- pyenv
- JenkinsFile
- 카마츠루
- local
- 熱海
- PostgreSQL
- 三井住友カード
- vba
- 메르페이
- 뮌헨
- 미츠이 스미토모
- 釜つる
- 프라하
- 아타미
- node.js
- 태국
Archives
- Today
- Total
목록환경변수 (1)
도쿄사는 외노자
Git Commit Message와 Author를 취득하여 환경변수로 사용하기
Commit Message 취득 def get_commit_msg(){ script { return sh(script : "git show -s --format=%B ${env.GIT_COMMIT}", returnStdout: true).trim().replace (' ', '-spc-') } } Author 취득 def get_commit_author(){ script { return sh(script : "git --no-pager show -s --format=%an ${env.GIT_COMMIT}", returnStdout: true).trim() } } Jenkinsfile 환경변수 설정 및 사용 pipeline { agent any environment { BATCH_DIR = "./path"..
Tech/Jenkins
2020. 1. 20. 21:07