1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/resources/default_pipeline_environment.yml

166 lines
4.7 KiB
YAML
Raw Normal View History

#Project Setup
general:
productiveBranch: 'master'
#Steps Specific Configuration
steps:
artifactSetVersion:
timestampTemplate: '%Y%m%d%H%M%S'
tagPrefix: 'build_'
commitVersion: true
maven:
filePath: 'pom.xml'
versioningTemplate: '${version}-${timestamp}${commitId?"_"+commitId:""}'
docker:
filePath: 'Dockerfile'
versioningTemplate: '${version}-${timestamp}${commitId?"_"+commitId:""}'
2018-02-02 16:07:33 +02:00
checksPublishResults:
aggregation:
active: true
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
tasks:
pattern: '**/*.java'
low: ''
normal: 'TODO,REVISE,XXX'
high: 'FIXME'
2018-02-01 19:13:38 +02:00
archive: true
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
pmd:
2018-02-01 19:13:38 +02:00
pattern: '**/target/pmd.xml'
archive: true
2018-02-01 19:13:38 +02:00
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
cpd:
2018-02-01 19:13:38 +02:00
pattern: '**/target/cpd.xml'
archive: true
2018-02-01 19:13:38 +02:00
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
findbugs:
2018-02-01 19:13:38 +02:00
pattern: '**/target/findbugsXml.xml, **/target/findbugs.xml'
archive: true
2018-02-01 19:13:38 +02:00
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
checkstyle:
2018-02-01 19:13:38 +02:00
pattern: '**/target/checkstyle-result.xml'
archive: true
2018-02-01 19:13:38 +02:00
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
eslint:
2018-02-01 19:13:38 +02:00
pattern: '**/eslint.xml'
archive: true
2018-02-01 19:13:38 +02:00
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
pylint:
2018-02-01 19:13:38 +02:00
pattern: '**/pylint.log'
archive: true
2018-02-01 19:13:38 +02:00
active: false
thresholds:
fail:
2018-02-09 13:15:26 +02:00
high: '0'
archive: false
2018-05-30 12:00:13 +02:00
influxWriteData:
influxServer: 'jenkins'
mavenExecute:
dockerImage: 'maven:3.5-jdk-7'
logSuccessfulMavenTransfers: false
2018-05-30 12:00:13 +02:00
mtaBuild:
buildTarget: 'NEO'
mtaJarLocation: 'mta.jar'
neoDeploy:
deployMode: 'mta'
warAction: 'deploy'
vmSize: 'lite'
neoCredentialsId: 'CI_CREDENTIALS_ID'
pipelineStashFilesAfterBuild:
runOpaTests: false
2018-05-30 12:00:13 +02:00
stashIncludes:
checkmarx: '**/*.js, **/*.scala, **/*.py, **/*.go, **/*.xml, **/*.html'
classFiles: '**/target/classes/**/*.class, **/target/test-classes/**/*.class'
sonar: '**/jacoco*.exec, **/sonar-project.properties'
stashExcludes:
checkmarx: '**/*.mockserver.js, node_modules/**/*.js'
classFiles: ''
sonar: ''
pipelineStashFilesBeforeBuild:
runCheckmarx: false
2018-05-30 12:00:13 +02:00
stashIncludes:
2018-06-25 12:56:43 +02:00
buildDescriptor: '**/pom.xml, **/.mvn/**, **/assembly.xml, **/.swagger-codegen-ignore, **/package.json, **/requirements.txt, **/setup.py, **/whitesource_config.py, **/mta*.y*ml, **/.npmrc, **/whitesource.*.json, **/whitesource-fs-agent.config, Dockerfile, **/VERSION, **/version.txt, **/build.sbt, **/sbtDescriptor.json, **/project/*'
2018-05-30 12:00:13 +02:00
deployDescriptor: '**/manifest*.y*ml, **/*.mtaext.y*ml, **/*.mtaext, **/xs-app.json, helm/**, *.y*ml'
git: '**/gitmetadata/**'
opa5: '**/*.*'
opensourceConfiguration: '**/srcclr.yml, **/vulas-custom.properties, **/.nsprc, **/.retireignore, **/.retireignore.json, **/.snyk'
2018-05-30 12:00:13 +02:00
pipelineConfigAndTests: '.pipeline/*.*'
securityDescriptor: '**/xs-security.json'
tests: '**/pom.xml, **/*.json, **/*.xml, **/src/**, **/node_modules/**, **/specs/**, **/env/**, **/*.js'
stashExcludes:
buildDescriptor: '**/node_modules/**/package.json'
deployDescriptor: ''
git: ''
opa5: ''
opensourceConfiguration: ''
2018-05-30 12:00:13 +02:00
pipelineConfigAndTests: ''
securityDescriptor: ''
tests: ''
2018-06-25 13:14:46 +02:00
snykExecute:
buildDescriptorFile: './package.json'
2018-06-27 09:51:27 +02:00
dockerImage: 'node:8.11.2-stretch'
2018-06-26 16:08:03 +02:00
exclude: []
2018-06-25 13:14:46 +02:00
monitor: true
scanType: 'npm'
stashContent:
- 'buildDescriptor'
- 'opensourceConfiguration'
toJson: false
2018-06-26 16:05:43 +02:00
toHtml: false
2018-02-02 10:04:01 +02:00
testsPublishResults:
junit:
2018-02-02 13:25:01 +02:00
pattern: '**/target/surefire-reports/*.xml'
2018-02-02 10:04:01 +02:00
updateResults: false
allowEmptyResults: true
archive: false
2018-02-02 13:25:01 +02:00
active: false
2018-02-02 10:04:01 +02:00
jacoco:
pattern: '**/target/*.exec'
allowEmptyResults: true
archive: false
2018-02-02 13:25:01 +02:00
active: false
2018-02-02 10:04:01 +02:00
cobertura:
pattern: '**/target/coverage/cobertura-coverage.xml'
onlyStableBuilds: true
allowEmptyResults: true
archive: false
2018-02-02 13:25:01 +02:00
active: false
2018-02-02 10:04:01 +02:00
jmeter:
pattern: '**/*.jtl'
errorFailedThreshold: 20
errorUnstableThreshold: 10
errorUnstableResponseTimeThreshold: ''
relativeFailedThresholdPositive: 0
relativeFailedThresholdNegative: 0
relativeUnstableThresholdPositive: 0
relativeUnstableThresholdNegative: 0
modeOfThreshold: false
modeThroughput: false
nthBuildNumber: 0
configType: 'PRT'
failBuildIfNoResultFile: false
compareBuildPrevious: true
allowEmptyResults: true
archive: false
2018-02-02 13:25:01 +02:00
active: false