2017-12-06 13:03:06 +02:00
|
|
|
#Project Setup
|
|
|
|
general:
|
|
|
|
productiveBranch: 'master'
|
2018-08-06 08:57:36 +02:00
|
|
|
collectTelemetryData: true
|
2018-07-17 09:21:56 +02:00
|
|
|
changeManagement:
|
2018-08-21 15:45:59 +02:00
|
|
|
transportRequestLabel: 'TransportRequest\s?:'
|
|
|
|
changeDocumentLabel: 'ChangeDocument\s?:'
|
|
|
|
clientOpts: ''
|
|
|
|
credentialsId: 'CM'
|
|
|
|
git:
|
|
|
|
from: 'origin/master'
|
|
|
|
to: 'HEAD'
|
|
|
|
format: '%b'
|
2018-08-08 22:21:26 +02:00
|
|
|
gitSshKeyCredentialsId: '' #needed to allow sshagent to run with local ssh key
|
2018-08-21 15:45:59 +02:00
|
|
|
jenkinsKubernetes:
|
|
|
|
jnlpAgent: 's4sdk/jenkins-agent-k8s:latest'
|
|
|
|
|
2017-12-06 13:03:06 +02:00
|
|
|
#Steps Specific Configuration
|
|
|
|
steps:
|
2018-02-07 14:17:33 +02:00
|
|
|
artifactSetVersion:
|
|
|
|
timestampTemplate: '%Y%m%d%H%M%S'
|
|
|
|
tagPrefix: 'build_'
|
2018-03-05 10:04:53 +02:00
|
|
|
commitVersion: true
|
2018-08-08 22:21:26 +02:00
|
|
|
dlang:
|
|
|
|
filePath: 'dub.json'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"+"+commitId:""}'
|
2018-02-07 14:17:33 +02:00
|
|
|
docker:
|
|
|
|
filePath: 'Dockerfile'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"_"+commitId:""}'
|
2018-08-08 22:21:26 +02:00
|
|
|
golang:
|
|
|
|
filePath: 'VERSION'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"+"+commitId:""}'
|
2018-06-27 10:43:07 +02:00
|
|
|
maven:
|
|
|
|
filePath: 'pom.xml'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"_"+commitId:""}'
|
|
|
|
mta:
|
|
|
|
filePath: 'mta.yaml'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"+"+commitId:""}'
|
2018-08-08 22:21:26 +02:00
|
|
|
npm:
|
|
|
|
filePath: 'package.json'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"+"+commitId:""}'
|
|
|
|
pip:
|
|
|
|
filePath: 'version.txt'
|
|
|
|
versioningTemplate: '${version}.${timestamp}${commitId?"."+commitId:""}'
|
|
|
|
sbt:
|
|
|
|
filePath: 'sbtDescriptor.json'
|
|
|
|
versioningTemplate: '${version}-${timestamp}${commitId?"+"+commitId:""}'
|
2018-08-15 11:41:01 +02:00
|
|
|
batsExecuteTests:
|
|
|
|
dockerImage: 'node:8-stretch'
|
|
|
|
dockerWorkspace: '/home/node'
|
|
|
|
envVars: {}
|
|
|
|
outputFormat: 'junit' # tap, junit
|
|
|
|
testPath: 'src/test'
|
|
|
|
failOnError: false
|
|
|
|
repository: 'https://github.com/bats-core/bats-core.git'
|
|
|
|
stashContent:
|
|
|
|
- 'tests'
|
|
|
|
testPackage: 'piper-bats'
|
2018-02-02 16:07:33 +02:00
|
|
|
checksPublishResults:
|
2018-02-01 13:56:46 +02:00
|
|
|
aggregation:
|
|
|
|
active: true
|
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
tasks:
|
|
|
|
pattern: '**/*.java'
|
|
|
|
low: ''
|
|
|
|
normal: 'TODO,REVISE,XXX'
|
|
|
|
high: 'FIXME'
|
2018-02-01 19:13:38 +02:00
|
|
|
archive: true
|
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
pmd:
|
2018-02-01 19:13:38 +02:00
|
|
|
pattern: '**/target/pmd.xml'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: true
|
2018-02-01 19:13:38 +02:00
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
cpd:
|
2018-02-01 19:13:38 +02:00
|
|
|
pattern: '**/target/cpd.xml'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: true
|
2018-02-01 19:13:38 +02:00
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
findbugs:
|
2018-02-01 19:13:38 +02:00
|
|
|
pattern: '**/target/findbugsXml.xml, **/target/findbugs.xml'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: true
|
2018-02-01 19:13:38 +02:00
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
checkstyle:
|
2018-02-01 19:13:38 +02:00
|
|
|
pattern: '**/target/checkstyle-result.xml'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: true
|
2018-02-01 19:13:38 +02:00
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
eslint:
|
2018-02-01 19:13:38 +02:00
|
|
|
pattern: '**/eslint.xml'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: true
|
2018-02-01 19:13:38 +02:00
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
pylint:
|
2018-02-01 19:13:38 +02:00
|
|
|
pattern: '**/pylint.log'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: true
|
2018-02-01 19:13:38 +02:00
|
|
|
active: false
|
2018-02-01 13:56:46 +02:00
|
|
|
thresholds:
|
|
|
|
fail:
|
2018-02-09 13:15:26 +02:00
|
|
|
high: '0'
|
2018-02-01 13:56:46 +02:00
|
|
|
archive: false
|
2018-07-30 09:28:24 +02:00
|
|
|
cloudFoundryDeploy:
|
|
|
|
cloudFoundry:
|
|
|
|
apiEndpoint: 'https://api.cf.eu10.hana.ondemand.com'
|
|
|
|
deployTool: 'cf_native'
|
|
|
|
deployType: 'standard'
|
|
|
|
mtaDeployParameters: '-f'
|
|
|
|
mtaExtensionDescriptor: ''
|
|
|
|
mtaPath: ''
|
2018-07-30 12:06:35 +02:00
|
|
|
smokeTestScript: 'blueGreenCheckScript.sh'
|
2018-07-30 09:28:24 +02:00
|
|
|
smokeTestStatusCode: 200
|
2018-08-15 09:46:08 +02:00
|
|
|
stashContent:
|
|
|
|
- 'deployDescriptor'
|
|
|
|
- 'pipelineConfigAndTests'
|
2018-07-30 09:28:24 +02:00
|
|
|
cf_native:
|
|
|
|
dockerImage: 's4sdk/docker-cf-cli'
|
|
|
|
dockerWorkspace: '/home/piper'
|
|
|
|
mtaDeployPlugin:
|
|
|
|
dockerImage: 's4sdk/docker-cf-cli'
|
|
|
|
dockerWorkspace: '/home/piper'
|
2018-08-21 15:45:59 +02:00
|
|
|
dockerExecuteOnKubernetes:
|
|
|
|
stashIncludes:
|
|
|
|
workspace: '**/*.*'
|
|
|
|
stashExcludes:
|
|
|
|
workspace: 'nohup.out'
|
2018-10-12 16:06:41 +02:00
|
|
|
healthExecuteCheck:
|
|
|
|
healthEndpoint: ''
|
2018-05-30 12:00:13 +02:00
|
|
|
influxWriteData:
|
|
|
|
influxServer: 'jenkins'
|
|
|
|
mavenExecute:
|
|
|
|
dockerImage: 'maven:3.5-jdk-7'
|
2018-06-06 14:42:47 +02:00
|
|
|
logSuccessfulMavenTransfers: false
|
2018-05-30 12:00:13 +02:00
|
|
|
mtaBuild:
|
|
|
|
buildTarget: 'NEO'
|
|
|
|
mtaJarLocation: 'mta.jar'
|
|
|
|
neoDeploy:
|
2018-07-23 12:18:42 +02:00
|
|
|
dockerImage: 's4sdk/docker-neo-cli'
|
2018-05-30 12:00:13 +02:00
|
|
|
deployMode: 'mta'
|
|
|
|
warAction: 'deploy'
|
|
|
|
vmSize: 'lite'
|
|
|
|
neoCredentialsId: 'CI_CREDENTIALS_ID'
|
2018-07-03 14:17:18 +02:00
|
|
|
newmanExecute:
|
|
|
|
dockerImage: 'node:8-stretch'
|
|
|
|
failOnError: true
|
|
|
|
newmanCollection: '**/*.postman_collection.json'
|
|
|
|
newmanEnvironment: ''
|
|
|
|
newmanGlobals: ''
|
2018-07-12 23:34:35 +02:00
|
|
|
newmanRunCommand: "run ${config.newmanCollection} --environment '${config.newmanEnvironment}' --globals '${config.newmanGlobals}' --reporters junit,html --reporter-junit-export target/newman/TEST-${collectionDisplayName}.xml --reporter-html-export target/newman/TEST-${collectionDisplayName}.html"
|
2018-08-08 11:22:08 +02:00
|
|
|
stashContent:
|
|
|
|
- 'tests'
|
2018-05-30 12:00:13 +02:00
|
|
|
pipelineStashFilesAfterBuild:
|
2018-06-01 12:33:06 +02:00
|
|
|
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:
|
2018-06-01 12:33:06 +02:00
|
|
|
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: '**/*.*'
|
2018-06-01 12:33:06 +02:00
|
|
|
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: ''
|
2018-06-01 12:33:06 +02:00
|
|
|
opensourceConfiguration: ''
|
2018-05-30 12:00:13 +02:00
|
|
|
pipelineConfigAndTests: ''
|
|
|
|
securityDescriptor: ''
|
|
|
|
tests: ''
|
2018-10-04 17:06:42 +02:00
|
|
|
seleniumExecuteTests:
|
|
|
|
buildTool: 'npm'
|
|
|
|
containerPortMappings:
|
|
|
|
'selenium/standalone-chrome':
|
|
|
|
- containerPort: 4444
|
|
|
|
hostPort: 4444
|
|
|
|
dockerLinkAlias: 'selenium'
|
|
|
|
failOnError: true
|
|
|
|
sidecarImage: 'selenium/standalone-chrome'
|
|
|
|
sidecarName: 'selenium'
|
|
|
|
sidecarVolumeBind:
|
|
|
|
'/dev/shm': '/dev/shm'
|
|
|
|
stashContent:
|
|
|
|
- 'tests'
|
|
|
|
maven:
|
|
|
|
dockerImage: 'maven:3.5-jdk-7'
|
|
|
|
dockerName: 'maven'
|
|
|
|
dockerWorkspace: ''
|
|
|
|
npm:
|
|
|
|
dockerImage: 'node:8-stretch'
|
|
|
|
dockerName: 'npm'
|
|
|
|
dockerWorkspace: '/home/node'
|
2018-06-25 13:14:46 +02:00
|
|
|
snykExecute:
|
|
|
|
buildDescriptorFile: './package.json'
|
2018-07-03 14:17:47 +02:00
|
|
|
dockerImage: 'node:8-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
|
2018-06-26 13:00:48 +02:00
|
|
|
checkChangeInDevelopment:
|
|
|
|
failIfStatusIsNotInDevelopment: true
|
2018-06-29 14:10:17 +02:00
|
|
|
transportRequestCreate:
|
2018-07-17 09:21:56 +02:00
|
|
|
developmentSystemId: null
|
2018-06-29 14:10:17 +02:00
|
|
|
transportRequestUploadFile:
|
|
|
|
transportRequestRelease:
|