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
- CSV
- 뮌헨
- javascript
- JenkinsFile
- node.js
- documentdb
- 미츠이 스미토모
- Selenium
- duckdb
- 프라하
- 카마츠루
- 아타미
- terraform
- 체코
- 熱海
- 방콕
- 釜つる
- 三井住友カード
- PayPay
- 페이페이
- vba
- codebuild
- typescript
- PostgreSQL
- 태국
- local
- react.js
- 메르페이
- pyenv
Archives
- Today
- Total
목록npm install (1)
도쿄사는 외노자
npm install을 필요할 때에만 돌리기
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 } }..
Tech/Jenkins
2020. 1. 20. 20:53