2019-01-23 12:35:18 +02:00
|
|
|
#
|
|
|
|
# ATTENTION: This file is part of the API, breaking changes here directly affect the consumers of the library.
|
|
|
|
# Please avoid breaking changes if possible.
|
|
|
|
#
|
|
|
|
|
2017-12-06 13:03:06 +02:00
|
|
|
#Project Setup
|
|
|
|
general:
|
2018-08-06 08:57:36 +02:00
|
|
|
collectTelemetryData: true
|
2020-05-06 12:17:56 +02:00
|
|
|
logFormat: 'plain'
|
2018-07-17 09:21:56 +02:00
|
|
|
changeManagement:
|
2018-09-28 14:06:06 +02:00
|
|
|
type: 'NONE' # SOLMAN, CTS, NONE
|
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'
|
2019-02-28 11:20:32 +02:00
|
|
|
solman:
|
|
|
|
docker:
|
|
|
|
image: 'ppiper/cm-client'
|
|
|
|
options: []
|
|
|
|
envVars: {}
|
|
|
|
pullImage: true
|
2019-02-28 10:47:30 +02:00
|
|
|
cts:
|
|
|
|
docker:
|
|
|
|
image: 'ppiper/cm-client'
|
|
|
|
options: []
|
|
|
|
envVars: {}
|
|
|
|
pullImage: true
|
2018-12-14 16:24:03 +02:00
|
|
|
rfc:
|
2019-02-12 14:44:09 +02:00
|
|
|
docker:
|
|
|
|
image: 'rfc'
|
|
|
|
options: []
|
|
|
|
envVars: {}
|
2019-02-18 17:59:44 +02:00
|
|
|
pullImage: true
|
2018-10-25 16:56:09 +02:00
|
|
|
githubApiUrl: 'https://api.github.com'
|
|
|
|
githubServerUrl: 'https://github.com'
|
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:
|
2020-05-07 09:31:52 +02:00
|
|
|
jnlpAgent: 'ppiper/jenkins-agent-k8s:v8'
|
2019-03-20 11:07:37 +02:00
|
|
|
securityContext:
|
|
|
|
# Setting security context globally is currently not working with jaas
|
|
|
|
# runAsUser: 1000
|
|
|
|
# fsGroup: 1000
|
2019-02-05 16:37:59 +02:00
|
|
|
manualConfirmation: true
|
2019-05-22 10:42:59 +02:00
|
|
|
manualConfirmationMessage: 'Shall we proceed to Promote & Release?'
|
|
|
|
manualConfirmationTimeout: 720 # 1 month
|
2019-02-05 16:37:59 +02:00
|
|
|
productiveBranch: 'master'
|
2019-03-06 15:03:00 +02:00
|
|
|
whitesource:
|
|
|
|
serviceUrl: 'https://saas.whitesourcesoftware.com/api'
|
2018-08-21 15:45:59 +02:00
|
|
|
|
2017-12-06 13:03:06 +02:00
|
|
|
#Steps Specific Configuration
|
|
|
|
steps:
|
2019-12-16 23:02:30 +02:00
|
|
|
abapEnvironmentPullGitRepo:
|
|
|
|
dockerImage: 'ppiper/cf-cli'
|
|
|
|
dockerWorkspace: '/home/piper'
|
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
|
2019-07-11 10:56:10 +02:00
|
|
|
gitPushMode: 'SSH'
|
2019-07-16 16:01:43 +02:00
|
|
|
verbose: false
|
2019-07-16 15:45:08 +02:00
|
|
|
gitHttpsCredentialsId: 'git'
|
|
|
|
gitDisableSslVerification: false
|
2019-07-03 11:27:07 +02:00
|
|
|
dub:
|
2018-08-08 22:21:26 +02:00
|
|
|
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:
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2018-08-15 11:41:01 +02:00
|
|
|
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'
|
2019-10-02 13:28:54 +02:00
|
|
|
apiParameters: ''
|
|
|
|
loginParameters: ''
|
2018-07-30 09:28:24 +02:00
|
|
|
deployTool: 'cf_native'
|
|
|
|
deployType: 'standard'
|
2018-11-27 12:47:44 +02:00
|
|
|
keepOldInstance: false
|
2019-10-02 13:28:54 +02:00
|
|
|
cfNativeDeployParameters: ''
|
2018-07-30 09:28:24 +02:00
|
|
|
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:
|
2019-10-25 17:49:54 +02:00
|
|
|
dockerImage: 'ppiper/cf-cli'
|
2018-07-30 09:28:24 +02:00
|
|
|
dockerWorkspace: '/home/piper'
|
|
|
|
mtaDeployPlugin:
|
2019-10-25 17:49:54 +02:00
|
|
|
dockerImage: 'ppiper/cf-cli'
|
2018-07-30 09:28:24 +02:00
|
|
|
dockerWorkspace: '/home/piper'
|
2019-01-31 10:39:13 +02:00
|
|
|
containerExecuteStructureTests:
|
|
|
|
containerCommand: '/busybox/tail -f /dev/null'
|
|
|
|
containerShell: '/busybox/sh'
|
|
|
|
dockerImage: 'ppiper/container-structure-test'
|
|
|
|
dockerOptions: "-u 0 --entrypoint=''"
|
|
|
|
failOnError: true
|
|
|
|
stashContent:
|
|
|
|
- 'tests'
|
|
|
|
testReportFilePath: 'cst-report.json'
|
2019-10-22 11:15:03 +02:00
|
|
|
cloudFoundryCreateService:
|
|
|
|
cloudFoundry:
|
|
|
|
apiEndpoint: 'https://api.cf.eu10.hana.ondemand.com'
|
|
|
|
serviceManifest: 'service-manifest.yml'
|
|
|
|
dockerImage: 'ppiper/cf-cli'
|
|
|
|
dockerWorkspace: '/home/piper'
|
2019-11-12 11:29:08 +02:00
|
|
|
stashContent:
|
|
|
|
- 'deployDescriptor'
|
2019-12-02 15:02:51 +02:00
|
|
|
cloudFoundryCreateServiceKey:
|
|
|
|
dockerImage: 'ppiper/cf-cli'
|
|
|
|
dockerWorkspace: '/home/piper'
|
2020-02-07 17:30:08 +02:00
|
|
|
debugReportArchive:
|
|
|
|
shareConfidentialInformation: false
|
2018-11-05 12:24:25 +02:00
|
|
|
dockerExecute:
|
2019-02-06 09:48:33 +02:00
|
|
|
dockerPullImage: true
|
|
|
|
sidecarPullImage: true
|
2018-11-05 12:24:25 +02:00
|
|
|
stashContent: []
|
2018-08-21 15:45:59 +02:00
|
|
|
dockerExecuteOnKubernetes:
|
2019-02-06 09:48:33 +02:00
|
|
|
dockerPullImage: true
|
2020-03-25 21:03:17 +02:00
|
|
|
sidecarPullImage: true
|
2018-11-05 12:24:25 +02:00
|
|
|
stashContent: []
|
2018-08-21 15:45:59 +02:00
|
|
|
stashIncludes:
|
2019-02-05 10:07:47 +02:00
|
|
|
workspace: '**/*'
|
2018-08-21 15:45:59 +02:00
|
|
|
stashExcludes:
|
|
|
|
workspace: 'nohup.out'
|
2019-06-19 16:52:18 +02:00
|
|
|
dubExecute:
|
|
|
|
dockerImage: 'dlang2/dmd-ubuntu:latest'
|
2018-10-25 16:56:09 +02:00
|
|
|
githubPublishRelease:
|
|
|
|
addClosedIssues: false
|
|
|
|
addDeltaToLastRelease: false
|
|
|
|
customFilterExtension: ''
|
|
|
|
excludeLabels:
|
|
|
|
- 'duplicate'
|
|
|
|
- 'invalid'
|
|
|
|
- 'question'
|
|
|
|
- 'wontfix'
|
2018-10-17 16:44:20 +02:00
|
|
|
gaugeExecuteTests:
|
|
|
|
buildTool: 'maven'
|
|
|
|
dockerEnvVars:
|
|
|
|
HUB: 'TRUE'
|
|
|
|
HUB_URL: 'http://localhost:4444/wd/hub'
|
|
|
|
failOnError: false
|
|
|
|
installCommand: 'curl -SsL https://downloads.gauge.org/stable | sh -s -- --location=$HOME/bin/gauge'
|
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'tests'
|
|
|
|
maven:
|
|
|
|
dockerImage: 'maven:3.5-jdk-8'
|
|
|
|
dockerName: 'maven'
|
|
|
|
dockerWorkspace: ''
|
|
|
|
languageRunner: 'java'
|
|
|
|
runCommand: 'mvn test-compile gauge:execute'
|
|
|
|
testOptions: '-DspecsDir=specs'
|
|
|
|
npm:
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2018-10-17 16:44:20 +02:00
|
|
|
dockerName: 'npm'
|
|
|
|
dockerWorkspace: '/home/node'
|
|
|
|
languageRunner: 'js'
|
|
|
|
runCommand: 'gauge run'
|
|
|
|
testOptions: 'specs'
|
2019-04-15 13:21:32 +02:00
|
|
|
bundler:
|
|
|
|
dockerImage: 'ruby:2.5.3-stretch'
|
|
|
|
dockerName: 'bundler'
|
|
|
|
dockerWorkspace: ''
|
|
|
|
languageRunner: 'ruby'
|
|
|
|
runCommand: 'bundle install && bundle exec gauge run'
|
|
|
|
testOptions: 'specs'
|
2019-06-04 08:01:43 +02:00
|
|
|
hadolintExecute:
|
|
|
|
configurationFile: '.hadolint.yaml'
|
|
|
|
configurationUrl: ''
|
|
|
|
dockerFile: './Dockerfile'
|
|
|
|
dockerImage: 'hadolint/hadolint:latest-debian'
|
|
|
|
qualityGates:
|
|
|
|
- threshold: 1
|
|
|
|
type: 'TOTAL_ERROR'
|
|
|
|
unstable: false
|
|
|
|
reportFile: 'hadolint.xml'
|
|
|
|
reportName: 'HaDoLint'
|
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
2019-03-20 12:21:06 +02:00
|
|
|
handlePipelineStepErrors:
|
|
|
|
echoDetails: true
|
2019-04-04 08:38:54 +02:00
|
|
|
failOnError: true
|
2019-03-20 12:21:06 +02:00
|
|
|
libraryDocumentationUrl: 'https://sap.github.io/jenkins-library/'
|
|
|
|
libraryRepositoryUrl: 'https://github.com/SAP/jenkins-library/'
|
2019-04-04 08:38:54 +02:00
|
|
|
mandatorySteps: []
|
2019-04-05 11:16:34 +02:00
|
|
|
stepTimeouts: {}
|
2018-10-12 16:06:41 +02:00
|
|
|
healthExecuteCheck:
|
|
|
|
healthEndpoint: ''
|
2018-05-30 12:00:13 +02:00
|
|
|
influxWriteData:
|
2019-01-18 09:25:22 +02:00
|
|
|
influxServer: ''
|
2019-05-02 17:29:11 +02:00
|
|
|
kanikoExecute:
|
|
|
|
containerBuildOptions: '--skip-tls-verify-pull'
|
|
|
|
containerCommand: '/busybox/tail -f /dev/null'
|
2020-05-13 17:41:32 +02:00
|
|
|
containerPreparationCommand: 'rm -f /kaniko/.docker/config.json'
|
2019-05-02 17:29:11 +02:00
|
|
|
containerShell: '/busybox/sh'
|
|
|
|
customTlsCertificateLinks: []
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
dockerImage: 'gcr.io/kaniko-project/executor:debug'
|
|
|
|
dockerOptions: "-u 0 --entrypoint=''"
|
2018-11-08 13:15:15 +02:00
|
|
|
karmaExecuteTests:
|
|
|
|
containerPortMappings:
|
2020-01-29 12:17:56 +02:00
|
|
|
'node:lts-stretch':
|
2018-11-08 13:15:15 +02:00
|
|
|
- containerPort: 9876
|
|
|
|
hostPort: 9876
|
2018-11-19 11:54:14 +02:00
|
|
|
dockerEnvVars:
|
|
|
|
NO_PROXY: 'localhost,selenium,$NO_PROXY'
|
|
|
|
no_proxy: 'localhost,selenium,$no_proxy'
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2018-11-08 13:15:15 +02:00
|
|
|
dockerName: 'karma'
|
|
|
|
dockerWorkspace: '/home/node'
|
|
|
|
installCommand: 'npm install --quiet'
|
|
|
|
modules:
|
|
|
|
- '.'
|
|
|
|
runCommand: 'npm run karma'
|
2018-11-19 11:54:14 +02:00
|
|
|
sidecarEnvVars:
|
|
|
|
NO_PROXY: 'localhost,karma,$NO_PROXY'
|
|
|
|
no_proxy: 'localhost,karma,$no_proxy'
|
|
|
|
stashContent:
|
|
|
|
- buildDescriptor
|
|
|
|
- tests
|
2018-10-17 12:05:11 +02:00
|
|
|
mailSendNotification:
|
|
|
|
notificationAttachment: true
|
|
|
|
notifyCulprits: true
|
|
|
|
numLogLinesInBody: 100
|
|
|
|
wrapInNode: false
|
2018-05-30 12:00:13 +02:00
|
|
|
mavenExecute:
|
|
|
|
dockerImage: 'maven:3.5-jdk-7'
|
2018-06-06 14:42:47 +02:00
|
|
|
logSuccessfulMavenTransfers: false
|
2020-06-04 17:53:06 +02:00
|
|
|
buildExecute:
|
|
|
|
npmInstall: true
|
|
|
|
npmRunScripts: []
|
2018-05-30 12:00:13 +02:00
|
|
|
mtaBuild:
|
|
|
|
buildTarget: 'NEO'
|
2020-02-07 13:20:46 +02:00
|
|
|
mtaBuildTool: cloudMbt
|
2019-11-21 15:56:40 +02:00
|
|
|
platform: 'cf'
|
2019-02-15 14:48:34 +02:00
|
|
|
mtaJarLocation: '/opt/sap/mta/lib/mta.jar'
|
2019-11-21 15:56:40 +02:00
|
|
|
classic:
|
|
|
|
dockerImage: 'ppiper/mta-archive-builder'
|
|
|
|
cloudMbt:
|
2020-03-24 09:51:42 +02:00
|
|
|
dockerImage: 'devxci/mbtci:1.0.10'
|
2018-05-30 12:00:13 +02:00
|
|
|
neoDeploy:
|
2019-10-25 17:49:54 +02:00
|
|
|
dockerImage: 'ppiper/neo-cli'
|
2018-05-30 12:00:13 +02:00
|
|
|
deployMode: 'mta'
|
|
|
|
warAction: 'deploy'
|
2019-05-24 14:25:26 +02:00
|
|
|
extensions: []
|
2019-01-28 12:32:24 +02:00
|
|
|
neo:
|
|
|
|
size: 'lite'
|
|
|
|
credentialsId: 'CI_CREDENTIALS_ID'
|
|
|
|
|
2018-07-03 14:17:18 +02:00
|
|
|
newmanExecute:
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2018-07-03 14:17:18 +02:00
|
|
|
failOnError: true
|
|
|
|
newmanCollection: '**/*.postman_collection.json'
|
|
|
|
newmanEnvironment: ''
|
|
|
|
newmanGlobals: ''
|
2018-11-28 10:25:34 +02:00
|
|
|
newmanInstallCommand: 'npm install newman newman-reporter-html --global --quiet'
|
|
|
|
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'
|
2019-02-21 20:14:48 +02:00
|
|
|
npmExecute:
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2019-02-28 14:01:30 +02:00
|
|
|
whitesourceExecuteScan:
|
2019-03-06 14:12:23 +02:00
|
|
|
createProductFromPipeline: true
|
|
|
|
emailAddressesOfInitialProductAdmins: []
|
2019-02-28 14:01:30 +02:00
|
|
|
buildDescriptorExcludeList: []
|
2019-03-04 11:32:47 +02:00
|
|
|
parallelLimit: 15
|
2019-02-28 14:01:30 +02:00
|
|
|
licensingVulnerabilities: true
|
2019-03-04 11:32:47 +02:00
|
|
|
securityVulnerabilities: true
|
2019-03-05 14:59:27 +02:00
|
|
|
cvssSeverityLimit: -1
|
2019-02-28 14:01:30 +02:00
|
|
|
reporting: true
|
|
|
|
vulnerabilityReportFileName: 'piper_whitesource_vulnerability_report'
|
2019-03-04 11:32:47 +02:00
|
|
|
vulnerabilityReportTitle: 'WhiteSource Security Vulnerability Report'
|
2019-02-28 14:01:30 +02:00
|
|
|
projectNames: []
|
|
|
|
jreDownloadUrl: 'https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.2/sapmachine-jre-11.0.2_linux-x64_bin.tar.gz'
|
2019-03-06 12:04:49 +02:00
|
|
|
agentFileName: 'wss-unified-agent.jar'
|
2019-07-09 13:38:30 +02:00
|
|
|
agentDownloadUrl: 'https://github.com/whitesource/unified-agent-distribution/releases/latest/download/${config.agentFileName}'
|
2019-03-06 12:04:49 +02:00
|
|
|
agentParameters: ''
|
|
|
|
configFilePath: './wss-unified-agent.config'
|
2019-02-28 14:01:30 +02:00
|
|
|
mta:
|
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'opensourceConfiguration'
|
|
|
|
maven:
|
|
|
|
buildDescriptorFile: './pom.xml'
|
2019-03-06 12:04:49 +02:00
|
|
|
dockerImage: 'maven:3.5-jdk-8'
|
2019-03-04 11:57:06 +02:00
|
|
|
dockerWorkspace: '/home/java'
|
2019-02-28 14:01:30 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'opensourceConfiguration'
|
|
|
|
npm:
|
|
|
|
buildDescriptorFile: './package.json'
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2019-03-04 11:57:06 +02:00
|
|
|
dockerWorkspace: '/home/node'
|
2019-02-28 14:01:30 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'opensourceConfiguration'
|
|
|
|
pip:
|
|
|
|
buildDescriptorFile: './setup.py'
|
2019-03-04 16:30:50 +02:00
|
|
|
dockerImage: 'python:3.7.2-stretch'
|
2019-03-04 11:57:06 +02:00
|
|
|
dockerWorkspace: '/home/python'
|
2019-02-28 14:01:30 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'opensourceConfiguration'
|
2019-03-21 14:25:22 +02:00
|
|
|
golang:
|
2019-03-25 15:00:57 +02:00
|
|
|
buildDescriptorFile: './Gopkg.toml'
|
2019-03-26 18:45:29 +02:00
|
|
|
dockerImage: 'golang:1.12-stretch'
|
2019-03-26 17:52:57 +02:00
|
|
|
dockerWorkspace: '/home/dep'
|
2019-03-21 14:25:22 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'opensourceConfiguration'
|
2019-05-03 16:21:36 +02:00
|
|
|
- 'checkmarx'
|
2019-03-26 18:05:12 +02:00
|
|
|
additionalInstallCommand: >-
|
2019-03-29 14:58:41 +02:00
|
|
|
curl --fail https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
2019-03-26 18:26:09 +02:00
|
|
|
&& mkdir -p \$GOPATH/src/${config.whitesource.projectName.substring(0, config.whitesource.projectName.lastIndexOf('/'))}
|
2019-03-26 18:22:51 +02:00
|
|
|
&& ln -s \$(pwd) \$GOPATH/src/${config.whitesource.projectName}
|
2019-03-26 18:16:44 +02:00
|
|
|
&& cd \$GOPATH/src/${config.whitesource.projectName} && dep ensure
|
2019-07-03 12:20:03 +02:00
|
|
|
dub:
|
|
|
|
buildDescriptorFile: './dub.json'
|
2019-07-17 09:25:30 +02:00
|
|
|
dockerImage: 'buildpack-deps:stretch-curl'
|
|
|
|
dockerWorkspace: '/home/dub'
|
2019-07-03 12:20:03 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'checkmarx'
|
2019-02-28 14:01:30 +02:00
|
|
|
sbt:
|
|
|
|
buildDescriptorFile: './build.sbt'
|
2019-03-04 11:40:58 +02:00
|
|
|
dockerImage: 'hseeberger/scala-sbt:8u181_2.12.8_1.2.8'
|
2019-03-04 11:57:06 +02:00
|
|
|
dockerWorkspace: '/home/scala'
|
2019-02-28 14:01:30 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'opensourceConfiguration'
|
|
|
|
verbose: false
|
|
|
|
timeout: 0
|
2019-04-05 11:30:02 +02:00
|
|
|
pipelineExecute:
|
|
|
|
branch: 'master'
|
|
|
|
path: 'Jenkinsfile'
|
|
|
|
credentialsId: ''
|
2018-10-18 08:51:48 +02:00
|
|
|
pipelineRestartSteps:
|
|
|
|
sendMail: true
|
|
|
|
timeoutInSeconds: 900
|
2018-05-30 12:00:13 +02:00
|
|
|
pipelineStashFilesAfterBuild:
|
|
|
|
stashIncludes:
|
2019-07-03 10:13:26 +02:00
|
|
|
buildResult: '**/target/*.jar, **/*.mtar'
|
2019-07-05 15:58:22 +02:00
|
|
|
checkmarx: '**/*.js, **/*.scala, **/*.py, **/*.go, **/*.d, **/*.di, **/*.xml, **/*.html'
|
2018-05-30 12:00:13 +02:00
|
|
|
classFiles: '**/target/classes/**/*.class, **/target/test-classes/**/*.class'
|
|
|
|
sonar: '**/jacoco*.exec, **/sonar-project.properties'
|
|
|
|
stashExcludes:
|
2019-07-03 10:13:26 +02:00
|
|
|
buildResult: ''
|
2018-05-30 12:00:13 +02:00
|
|
|
checkmarx: '**/*.mockserver.js, node_modules/**/*.js'
|
|
|
|
classFiles: ''
|
|
|
|
sonar: ''
|
2019-04-02 13:13:25 +02:00
|
|
|
noDefaultExludes: []
|
2018-05-30 12:00:13 +02:00
|
|
|
pipelineStashFilesBeforeBuild:
|
|
|
|
stashIncludes:
|
2020-02-04 17:36:09 +02:00
|
|
|
buildDescriptor: '**/pom.xml, **/.mvn/**, **/assembly.xml, **/.swagger-codegen-ignore, **/package.json, **/requirements.txt, **/setup.py, **/mta*.y*ml, **/.npmrc, **/Dockerfile, .hadolint.yaml, **/VERSION, **/version.txt, **/Gopkg.*, **/dub.json, **/dub.sdl, **/build.sbt, **/sbtDescriptor.json, **/project/*, **/ui5.yaml, **/ui5.yml'
|
2018-05-30 12:00:13 +02:00
|
|
|
deployDescriptor: '**/manifest*.y*ml, **/*.mtaext.y*ml, **/*.mtaext, **/xs-app.json, helm/**, *.y*ml'
|
2019-04-02 13:13:25 +02:00
|
|
|
git: '.git/**'
|
2019-03-27 13:57:57 +02:00
|
|
|
opensourceConfiguration: '**/srcclr.yml, **/vulas-custom.properties, **/.nsprc, **/.retireignore, **/.retireignore.json, **/.snyk, **/wss-unified-agent.config, **/vendor/**/*'
|
2018-12-12 12:45:11 +02:00
|
|
|
pipelineConfigAndTests: '.pipeline/**'
|
2018-05-30 12:00:13 +02:00
|
|
|
securityDescriptor: '**/xs-security.json'
|
2019-10-30 09:21:34 +02:00
|
|
|
tests: '**/pom.xml, **/*.json, **/*.xml, **/src/**, **/node_modules/**, **/specs/**, **/env/**, **/*.js, **/tests/**, **/*.html, **/*.css, **/*.properties'
|
2018-05-30 12:00:13 +02:00
|
|
|
stashExcludes:
|
|
|
|
buildDescriptor: '**/node_modules/**/package.json'
|
|
|
|
deployDescriptor: ''
|
|
|
|
git: ''
|
2018-06-01 12:33:06 +02:00
|
|
|
opensourceConfiguration: ''
|
2018-05-30 12:00:13 +02:00
|
|
|
pipelineConfigAndTests: ''
|
|
|
|
securityDescriptor: ''
|
|
|
|
tests: ''
|
2019-04-02 13:13:25 +02:00
|
|
|
noDefaultExludes:
|
|
|
|
- 'git'
|
2019-07-18 12:09:54 +02:00
|
|
|
piperPublishWarnings:
|
|
|
|
parserId: piper
|
|
|
|
parserName: Piper
|
|
|
|
parserPattern: '\[(INFO|WARNING|ERROR)\] (.*) \(([^) ]*)\/([^) ]*)\)'
|
|
|
|
parserScript: 'return builder.guessSeverity(matcher.group(1)).setMessage(matcher.group(2)).setModuleName(matcher.group(3)).setType(matcher.group(4)).buildOptional()'
|
|
|
|
recordIssuesSettings:
|
|
|
|
blameDisabled: true
|
|
|
|
enabledForFailure: true
|
2018-10-04 17:06:42 +02:00
|
|
|
seleniumExecuteTests:
|
|
|
|
buildTool: 'npm'
|
|
|
|
containerPortMappings:
|
|
|
|
'selenium/standalone-chrome':
|
|
|
|
- containerPort: 4444
|
|
|
|
hostPort: 4444
|
|
|
|
failOnError: true
|
|
|
|
sidecarImage: 'selenium/standalone-chrome'
|
|
|
|
sidecarName: 'selenium'
|
|
|
|
sidecarVolumeBind:
|
|
|
|
'/dev/shm': '/dev/shm'
|
|
|
|
stashContent:
|
|
|
|
- 'tests'
|
|
|
|
maven:
|
2018-10-17 16:44:20 +02:00
|
|
|
dockerImage: 'maven:3.5-jdk-8'
|
2018-10-04 17:06:42 +02:00
|
|
|
dockerName: 'maven'
|
|
|
|
dockerWorkspace: ''
|
|
|
|
npm:
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-stretch'
|
2018-10-04 17:06:42 +02:00
|
|
|
dockerName: 'npm'
|
|
|
|
dockerWorkspace: '/home/node'
|
2019-04-15 13:21:32 +02:00
|
|
|
bundler:
|
|
|
|
dockerImage: 'ruby:2.5.3-stretch'
|
|
|
|
dockerName: 'bundler'
|
|
|
|
dockerWorkspace: ''
|
2019-02-13 17:45:35 +02:00
|
|
|
slackSendNotification:
|
|
|
|
color: "${buildStatus == 'SUCCESS'?'#008000':'#E60000'}"
|
|
|
|
defaultMessage: "${buildStatus}: Job ${env.JOB_NAME} <${env.BUILD_URL}|#${env.BUILD_NUMBER}>"
|
2018-06-25 13:14:46 +02:00
|
|
|
snykExecute:
|
|
|
|
buildDescriptorFile: './package.json'
|
2020-01-29 12:17:56 +02:00
|
|
|
dockerImage: 'node:lts-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
|
2019-11-06 16:37:14 +02:00
|
|
|
spinnakerTriggerPipeline:
|
|
|
|
certFileCredentialsId: 'spinnaker-client-certificate'
|
|
|
|
keyFileCredentialsId: 'spinnaker-client-key'
|
|
|
|
timeout: 60
|
2018-02-02 10:04:01 +02:00
|
|
|
testsPublishResults:
|
2019-02-08 13:30:59 +02:00
|
|
|
failOnError: false
|
2018-02-02 10:04:01 +02:00
|
|
|
junit:
|
2018-11-16 09:57:09 +02:00
|
|
|
pattern: '**/TEST-*.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:
|
2019-11-05 16:33:18 +02:00
|
|
|
pattern: '**/target/coverage/**/cobertura-coverage.xml'
|
2018-02-02 10:04:01 +02:00
|
|
|
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
|
2019-07-18 15:06:11 +02:00
|
|
|
tmsUpload:
|
|
|
|
namedUser: 'Piper-Pipeline'
|
2020-06-22 11:34:10 +02:00
|
|
|
mtaVersion: '*'
|
2019-07-18 15:06:11 +02:00
|
|
|
stashContent:
|
|
|
|
- 'buildResult'
|
2018-06-29 14:10:17 +02:00
|
|
|
transportRequestCreate:
|
2018-07-17 09:21:56 +02:00
|
|
|
developmentSystemId: null
|
2019-03-05 11:29:23 +02:00
|
|
|
verbose: false
|
2018-06-29 14:10:17 +02:00
|
|
|
transportRequestUploadFile:
|
2019-02-19 12:17:54 +02:00
|
|
|
acceptUnixStyleLineEndings: true
|
|
|
|
codePage: 'UTF-8'
|
2019-02-15 12:05:21 +02:00
|
|
|
failOnWarning: true
|
2019-02-15 13:52:44 +02:00
|
|
|
verbose: false
|
2018-06-29 14:10:17 +02:00
|
|
|
transportRequestRelease:
|
2019-03-05 13:35:28 +02:00
|
|
|
verbose: false
|
2019-01-31 10:16:34 +02:00
|
|
|
uiVeri5ExecuteTests:
|
|
|
|
failOnError: false
|
|
|
|
dockerEnvVars: {}
|
|
|
|
installCommand: 'npm install @ui5/uiveri5 --global --quiet'
|
|
|
|
seleniumPort: 4444
|
|
|
|
stashContent:
|
|
|
|
- 'buildDescriptor'
|
|
|
|
- 'tests'
|
|
|
|
testOptions: ''
|
|
|
|
runCommand: "uiveri5 --seleniumAddress='http://${config.seleniumHost}:${config.seleniumPort}/wd/hub'"
|
2018-12-12 12:45:11 +02:00
|
|
|
|
|
|
|
#defaults for stage wrapper
|
|
|
|
piperStageWrapper:
|
|
|
|
projectExtensionsDirectory: '.pipeline/extensions/'
|
|
|
|
globalExtensionsDirectory: ''
|
|
|
|
stageLocking: true
|
|
|
|
nodeLabel: ''
|
|
|
|
stashContent:
|
|
|
|
- 'pipelineConfigAndTests'
|
2019-09-11 13:42:38 +02:00
|
|
|
xsDeploy:
|
|
|
|
credentialsId: 'XS'
|
|
|
|
deployIdLogPattern: '^.*"xs bg-deploy -i (.*) -a .*".*$'
|
|
|
|
loginOpts: ''
|
|
|
|
deployOpts: ''
|
|
|
|
docker:
|
|
|
|
dockerImage: ''
|
|
|
|
dockerPullImage: false
|
|
|
|
mode: 'DEPLOY'
|
|
|
|
action: 'NONE'
|
|
|
|
xsSessionFile: '.xsconfig'
|