Put a newline in the git included regions filter

This commit is contained in:
Dan Hawkins 2017-11-28 16:51:58 +00:00
commit c62d2d3096

View file

@ -14,22 +14,23 @@ pipeline {
extensions: [
[$class: 'CleanBeforeCheckout'],
[$class: 'CloneOption',
depth: 0,
noTags: false,
reference: "${REPO_ROOT}/newsw",
shallow: false,
timeout: 60
],
depth: 0,
noTags: false,
reference: "${REPO_ROOT}/newsw",
shallow: false,
timeout: 60
],
[$class: 'CheckoutOption',
timeout: 60
],
timeout: 60
],
[$class: 'RelativeTargetDirectory',
relativeTargetDir: 'GitRepository'
],
relativeTargetDir: 'GitRepository'
],
[$class: 'PathRestriction',
excludedRegions: '',
includedRegions: '''src/.* autobuild/.*'''
]
excludedRegions: '',
includedRegions: '''src/.*
autobuild/.*'''
]
],
submoduleCfg: [
],
@ -49,18 +50,18 @@ pipeline {
extensions: [
[$class: 'CleanBeforeCheckout'],
[$class: 'CloneOption',
depth: 0,
noTags: false,
reference: "${REPO_ROOT}/samba_fw_releases",
shallow: true,
timeout: 60
],
depth: 0,
noTags: false,
reference: "${REPO_ROOT}/samba_fw_releases",
shallow: true,
timeout: 60
],
[$class: 'CheckoutOption',
timeout: 60
],
timeout: 60
],
[$class: 'RelativeTargetDirectory',
relativeTargetDir: 'samba_fw'
]
relativeTargetDir: 'samba_fw'
]
],
submoduleCfg: [
],
@ -76,18 +77,18 @@ pipeline {
extensions: [
[$class: 'CleanBeforeCheckout'],
[$class: 'CloneOption',
depth: 0,
noTags: false,
reference: "${REPO_ROOT}/HMB_XR_1003_Embeddded_Logic.git",
shallow: true,
timeout: 60
],
depth: 0,
noTags: false,
reference: "${REPO_ROOT}/HMB_XR_1003_Embeddded_Logic.git",
shallow: true,
timeout: 60
],
[$class: 'CheckoutOption',
timeout: 60
],
timeout: 60
],
[$class: 'RelativeTargetDirectory',
relativeTargetDir: 'xr1003_el'
]
relativeTargetDir: 'xr1003_el'
]
],
submoduleCfg: [
],
@ -103,17 +104,17 @@ pipeline {
extensions: [
[$class: 'CleanBeforeCheckout'],
[$class: 'CloneOption',
noTags: false,
reference: "${REPO_ROOT}/ver_stamping_releases",
shallow: true,
timeout: 60
],
noTags: false,
reference: "${REPO_ROOT}/ver_stamping_releases",
shallow: true,
timeout: 60
],
[$class: 'CheckoutOption',
timeout: 60
],
timeout: 60
],
[$class: 'RelativeTargetDirectory',
relativeTargetDir: 'ver_stamping'
]
relativeTargetDir: 'ver_stamping'
]
],
submoduleCfg: [],
userRemoteConfigs: [
@ -128,17 +129,17 @@ pipeline {
extensions: [
[$class: 'CleanBeforeCheckout'],
[$class: 'CloneOption',
noTags: false,
reference: "${REPO_ROOT}/print_release_difference",
shallow: true,
timeout: 60
],
noTags: false,
reference: "${REPO_ROOT}/print_release_difference",
shallow: true,
timeout: 60
],
[$class: 'CheckoutOption',
timeout: 60
],
timeout: 60
],
[$class: 'RelativeTargetDirectory',
relativeTargetDir: 'print_release_difference'
]
relativeTargetDir: 'print_release_difference'
]
],
submoduleCfg: [
],
@ -256,17 +257,17 @@ pipeline {
stage('Scan for warnings') {
steps {
warnings canComputeNew: false,
canResolveRelativePaths: false,
categoriesPattern: '',
consoleParsers: [
[parserName: 'MSBuild']
],
defaultEncoding: '',
excludePattern: '',
healthy: '',
includePattern: '',
messagesPattern: '',
unHealthy: ''
canResolveRelativePaths: false,
categoriesPattern: '',
consoleParsers: [
[parserName: 'MSBuild']
],
defaultEncoding: '',
excludePattern: '',
healthy: '',
includePattern: '',
messagesPattern: '',
unHealthy: ''
}
}
stage('Archiving artifacts') {
@ -276,16 +277,16 @@ pipeline {
}
}
post {
always {
always {
echo 'Post-build'
}
failure {
}
failure {
echo 'Failed build'
step([$class: 'LogParserPublisher',
parsingRulesPath: 'GitRepository/autobuild/build/log parsing rules/vs.txt',
useProjectRule: true
])
}
step([$class: 'LogParserPublisher',
parsingRulesPath: 'GitRepository/autobuild/build/log parsing rules/vs.txt',
useProjectRule: true
])
}
success {
echo 'Succeeded build'
}