123456789101112131415 |
- @Library('salt@master-1.9') _
- if (env.CHANGE_ID) {
- // This is a PR
- pre_commit_skips = ''
- } else {
- // This is a branch build
- pre_commit_skips = 'pyupgrade,remove-import-headers,rstcheck'
- }
- runPreCommit(
- env: env,
- pre_commit_skips: pre_commit_skips)
- // vim: ft=groovy
|