mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-03 15:02:35 +02:00
Adds the file name and extension to the mtaJarLocation to make the SAP Multitarget Archive Builder jar file configurable.
124 lines
2.9 KiB
YAML
124 lines
2.9 KiB
YAML
#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:""}'
|
|
mavenExecute:
|
|
dockerImage: 'maven:3.5-jdk-7'
|
|
influxWriteData:
|
|
influxServer: 'jenkins'
|
|
mtaBuild:
|
|
buildTarget: 'NEO'
|
|
mtaJarLocation: 'mta.jar'
|
|
neoDeploy:
|
|
deployMode: 'mta'
|
|
warAction: 'deploy'
|
|
vmSize: 'lite'
|
|
neoCredentialsId: 'CI_CREDENTIALS_ID'
|
|
checksPublishResults:
|
|
aggregation:
|
|
active: true
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
tasks:
|
|
pattern: '**/*.java'
|
|
low: ''
|
|
normal: 'TODO,REVISE,XXX'
|
|
high: 'FIXME'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
pmd:
|
|
pattern: '**/target/pmd.xml'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
cpd:
|
|
pattern: '**/target/cpd.xml'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
findbugs:
|
|
pattern: '**/target/findbugsXml.xml, **/target/findbugs.xml'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
checkstyle:
|
|
pattern: '**/target/checkstyle-result.xml'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
eslint:
|
|
pattern: '**/eslint.xml'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
pylint:
|
|
pattern: '**/pylint.log'
|
|
archive: true
|
|
active: false
|
|
thresholds:
|
|
fail:
|
|
high: '0'
|
|
archive: false
|
|
testsPublishResults:
|
|
junit:
|
|
pattern: '**/target/surefire-reports/*.xml'
|
|
updateResults: false
|
|
allowEmptyResults: true
|
|
archive: false
|
|
active: false
|
|
jacoco:
|
|
pattern: '**/target/*.exec'
|
|
allowEmptyResults: true
|
|
archive: false
|
|
active: false
|
|
cobertura:
|
|
pattern: '**/target/coverage/cobertura-coverage.xml'
|
|
onlyStableBuilds: true
|
|
allowEmptyResults: true
|
|
archive: false
|
|
active: false
|
|
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
|
|
active: false
|