일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 태국
- 뮌헨
- documentdb
- pyenv
- react.js
- 페이페이
- codebuild
- JenkinsFile
- PayPay
- 방콕
- terraform
- 三井住友カード
- 체코
- CSV
- 아타미
- Python
- local
- 카마츠루
- 미츠이 스미토모
- PostgreSQL
- duckdb
- 熱海
- javascript
- 프라하
- typescript
- Selenium
- node.js
- vba
- 메르페이
- 釜つる
- Today
- Total
목록Tech/Jenkins (2)
도쿄사는 외노자
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"..
node_modules가 없거나 package.json이 갱신된 경우에만 npm install을 돌리도록 한다. 1. package.json이 갱신되었는지 판별 def check_package_updated() { script { def pretty = "" def file_paths = sh(script : "git show --pretty=${pretty} --name-only ${env.GIT_COMMIT}", returnStdout: true).trim() def path_list = file_paths.split('\n') def is_updated = 0 for (path in path_list) { if(path.contains("package.json")) { is_updated=1 } }..