Merge pull request #53725 from s0undt3ch/features/f30-reqs-2019.2.1

[2019.2.1] Archive the kitchen logs
This commit is contained in:
Pedro Algarvio 2019-07-05 19:19:49 +01:00 committed by GitHub
commit f750f44c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 36 additions and 36 deletions

View file

@ -82,7 +82,7 @@ node('docs') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -102,7 +102,7 @@ node('kitchen-slave') {
'''
}
}
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*'
archiveArtifacts artifacts: 'artifacts/*,artifacts/**/*,.kitchen/logs/kitchen.log'
junit 'artifacts/xml-unittests-output/*.xml'
} finally {
stage('Cleanup') {
@ -145,7 +145,7 @@ node('kitchen-slave') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}

View file

@ -230,7 +230,7 @@ node('lint') {
try {
slackSend channel: "#jenkins-prod-pr",
color: '#FF0000',
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
message: "*${currentBuild.currentResult}*: ${currentBuild.getFullDisplayName()} (<${env.BUILD_URL}|open>)"
} catch (Exception e) {
sh 'echo Failed to send the Slack notification'
}