-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
27 lines (21 loc) · 776 Bytes
/
Jenkinsfile
File metadata and controls
27 lines (21 loc) · 776 Bytes
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
#!groovy
@Library('cib-pipeline-library@master') _
import de.cib.pipeline.library.Constants
import de.cib.pipeline.library.ConstantsInternal
standardNPMPipeline(
primaryBranch: 'main',
// Auto enable unit test and SAST
uiParamPresets: [
'UNIT_TESTS': true,
'SAST': true
],
// Test configuration
testResultsPattern: ConstantsInternal.MAVEN_TEST_RESULTS,
coverageCoberturaPattern: 'target/coverage/cobertura-coverage.xml',
coverageLcovPattern: 'target/coverage/lcov.info',
// Publish configuration
npmAllowRepublish: false,
npmCredentialsId: Constants.CIBSEVEN_NPM_CREDENTIALS_ID,
npmDevRegistry: Constants.CIBSEVEN_NPM_REGISTRY_DEV_URL,
npmReleaseRegistry: Constants.CIBSEVEN_NPM_REGISTRY_RELEASE_URL
)