Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(jenkins): enable PR notification #488

Merged
merged 16 commits into from
Apr 24, 2020
Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented Apr 24, 2020

What does this PR do?

  • Enable the github pr comment with the same data that's provided in the email notifications.
  • Fix the get build json regression.
  • Fix the reuse of the github comment.

Why is it important?

Centralise the notifications and keep the information simple, therefore we can enhance the comment as much as required and build the reuse comment strategy.

Related issues

Caused by https://github.com/elastic/observability-robots/issues/37

Follow-ups

  • Enable in the obs11-robots repos.
  • Gather feedback and provide details to the teams
  • Support the reuse of the github comment. We were discussing to enable that feature with the archive/copy artifacts within Jenkins, therefore the validaiton will be if the file with the github comment id exists then reuse it. This will help to avoid a complex metadata analysis strategy and the usage of another library for github api.

Tests

See #488 (comment) which has been generated when running the MBP in my local jenkins instance.

See #488 (comment) for a broken test build.

Reuse comment seems to be back to business

image

@v1v v1v self-assigned this Apr 24, 2020
@v1v v1v added the automation label Apr 24, 2020
@botelastic botelastic bot added the groovy label Apr 24, 2020
@botelastic botelastic bot added the ci label Apr 24, 2020
cleanup {
notifyBuildResult()
notifyBuildResult(prComment: true)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flag to enable the comment in the GitHub PRs, then the rollout could be per project or globally :)

@@ -0,0 +1,82 @@
## ${statusSuccess ? ':green_heart: Build Succeeded' : ':broken_heart: Build Failed'}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For instance:

image

It's the output generated with the test resources files when running the UTs

Copy link
Contributor

@mdelapenya mdelapenya Apr 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd see convenient naming this template including "github-comment", something like:

  • groovy-markdown-custom-github-comment
  • groovy-markdown-custom-gh-comment
  • markdown-custom-github-comment (maybe groovy could be omitted as implicit default)

I think it will add context to the reader when accessing this document. Wdyt?

Copy link
Member Author

@v1v v1v Apr 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 0a00f8fc079a80962a15df05bdff566595f9ca22 , in other words, using github-comment-markdown.template since groovy and custom are not necessarily required as you spotted :)

"testsErrors": testsErrors,
"testsSummary": testsSummary
])
githubPrComment(message: body)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

githubPrComment got already a default template, so let's force the message to keep backward compatibility

@@ -88,5 +92,5 @@ def getLatestBuildComment() {
def comments = getComments()
return comments
.reverse()
.find { (it.user.login == 'elasticmachine') && it.body =~ /<!--PIPELINE/ }
.find { (it.user.login == 'elasticmachine' || it.user.login == 'apmmachine') && it.body =~ /<!--PIPELINE/ }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we got a new service account the github pr comment reusiing approach was broken

v1v added 2 commits April 24, 2020 12:34
…ions

* upstream/master:
  docs: update CHANGELOG.md
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release v1.1.90
  ci: jq is not installed in the master (#486)
@elasticmachine
Copy link

💚 Build Succeeded

Pipeline View Test View Changes Artifacts stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 11
Skipped 8
Total 19

Log output

Expand to view the last 100 lines of log output

[2020-04-24T11:37:03.544Z] - hook id: check-jjbb
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[2020-04-24T11:37:03.572Z] $ ssh-agent -k
[2020-04-24T11:37:03.579Z] unset SSH_AUTH_SOCK;
[2020-04-24T11:37:03.579Z] unset SSH_AGENT_PID;
[2020-04-24T11:37:03.579Z] echo Agent pid 11713 killed;
[2020-04-24T11:37:03.593Z] [ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] step
[2020-04-24T11:37:03.680Z] Archiving artifacts
[Pipeline] junit
[2020-04-24T11:37:03.698Z] Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] githubNotify
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] githubNotify
[Pipeline] deleteDir
[Pipeline] unstash
[Pipeline] dir
[2020-04-24T11:37:07.861Z] Running in /tmp/workspace/mbp_PR-488/src/github.com/elastic/apm-pipeline-library
[Pipeline] {
[Pipeline] }
[Pipeline] // dir
[Pipeline] githubNotify
Post stage
[Pipeline] archiveArtifacts
[2020-04-24T11:37:09.201Z] Archiving artifacts
[2020-04-24T11:37:09.259Z] ‘${BASE_DIR}/**/mail-out-test*.html’ doesn’t match anything: even ‘${BASE_DIR}’ doesn’t exist
[2020-04-24T11:37:09.259Z] No artifacts found that match the file pattern "${BASE_DIR}/**/mail-out-test*.html". Configuration error?
[Pipeline] junit
[2020-04-24T11:37:09.288Z] Recording test results
[2020-04-24T11:37:09.301Z] None of the test reports contained any result
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check Pipelines)
[Pipeline] githubNotify
[Pipeline] dir
[2020-04-24T11:37:10.963Z] Running in /tmp/workspace/mbp_PR-488/src/github.com/elastic/apm-pipeline-library
[Pipeline] {
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.004Z] Declarative Pipeline file '.ci/Jenkinsfile' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.040Z] Declarative Pipeline file '.ci/buildBeatsDockerImages.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.110Z] Declarative Pipeline file '.ci/buildDockerImages.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.147Z] Declarative Pipeline file '.ci/dockerImagesOpbeans.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.172Z] Declarative Pipeline file '.ci/schedule-daily.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.192Z] Declarative Pipeline file '.ci/schedule-weekly.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T11:37:11.245Z] Declarative Pipeline file 'resources/JenkinsfileTemplate.groovy' is valid.
[Pipeline] }
[Pipeline] // dir
[Pipeline] githubNotify
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release)
Stage "Release" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] node
[2020-04-24T11:37:12.949Z] Running on local in /tmp/workspace/mbp_PR-488@2
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Reporting build status)
[Pipeline] echo
[2020-04-24T11:37:12.977Z] [INFO] getVaultSecret: Getting secrets
[Pipeline] withCredentials
[2020-04-24T11:37:13.007Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] wrap
[Pipeline] {
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] catchError
[Pipeline] {
[Pipeline] isUnix
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] sh

@elastic elastic deleted a comment from apmmachine Apr 24, 2020
@elasticmachine
Copy link

💔 Build Failed

Pipeline View Test View Changes Artifacts stats

Expand to view the summary

Build stats

  • Build Cause: [Started by user anonymous]

  • Start Time: 2020-04-24T11:41:32.420+0000

  • Duration: 2 min 21 sec (140557)

Test stats 🧪

Test Results
Failed 2
Passed 484
Skipped 6
Total 492

Test errors

Expand to view the tests failures

  • Name: Check pre-commit / Shellscript lint – pre_commit.lint

    • Status: FAILED
    • Age: 1
    • Duration: 0.0
    • Error Details: error
  • Name: Test / test – EchoColorStepTests

    • Status: FAILED
    • Age: 1
    • Duration: 0.079
    • Error Details: No signature of method: EchoColorStepTests.assertFalse() is applicable for argument types: (java.lang.Boolean) values: [true]

Steps errors

Expand to view the steps failures

  • Name: Shell Script

    • Description: ./mvnw clean test --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

    • Result: FAILURE

    • Duration: 1 min 40 sec<

    • Start Time: 2020-04-24T11:43:09.811+0000

    • log

  • Name: Archive JUnit-formatted test results

    • Description:

    • Result: FAILURE

    • Duration: 0 min 0 sec<

    • Start Time: 2020-04-24T11:43:51.385+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-04-24T11:43:46.347Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 s - in GetBuildInfoJsonFilesStepTests
[2020-04-24T11:43:46.347Z] [INFO] Running WithEnvMaskStepTests
[2020-04-24T11:43:46.347Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in WithEnvMaskStepTests
[2020-04-24T11:43:46.347Z] [INFO] Running LogStepTests
[2020-04-24T11:43:46.616Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.285 s - in LogStepTests
[2020-04-24T11:43:46.616Z] [INFO] Running GetBlueoceanDisplayURLStepTests
[2020-04-24T11:43:46.886Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 s - in GetBlueoceanDisplayURLStepTests
[2020-04-24T11:43:46.886Z] [INFO] Running CheckoutStepTests
[2020-04-24T11:43:46.886Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s - in CheckoutStepTests
[2020-04-24T11:43:46.886Z] [INFO] Running GithubCreateIssueStepTests
[2020-04-24T11:43:47.151Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 s - in GithubCreateIssueStepTests
[2020-04-24T11:43:47.151Z] [INFO] Running UpdateGithubCommitStatusStepTests
[2020-04-24T11:43:47.151Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s - in UpdateGithubCommitStatusStepTests
[2020-04-24T11:43:47.152Z] [INFO] Running NexusStagingCreate500Tests
[2020-04-24T11:43:48.106Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.072 s - in NexusStagingCreate500Tests
[2020-04-24T11:43:48.106Z] [INFO] Running GithubCreatePullRequestStepTests
[2020-04-24T11:43:48.378Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.28 s - in GithubCreatePullRequestStepTests
[2020-04-24T11:43:48.378Z] [INFO] Running IsUpstreamTriggerStepTests
[2020-04-24T11:43:48.642Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s - in IsUpstreamTriggerStepTests
[2020-04-24T11:43:48.642Z] [INFO] Running GetModulesFromCommentTriggerStepTests
[2020-04-24T11:43:48.909Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.213 s - in GetModulesFromCommentTriggerStepTests
[2020-04-24T11:43:48.909Z] [INFO] Running IsGitRegionMatchStepTests
[2020-04-24T11:43:49.487Z] [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.785 s - in IsGitRegionMatchStepTests
[2020-04-24T11:43:49.487Z] [INFO] Running SetGithubCommitStatusStepTests
[2020-04-24T11:43:49.487Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s - in SetGithubCommitStatusStepTests
[2020-04-24T11:43:49.487Z] [INFO] Running SendDataToElasticsearchStepTests
[2020-04-24T11:43:49.753Z] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 s - in SendDataToElasticsearchStepTests
[2020-04-24T11:43:49.753Z] [INFO] 
[2020-04-24T11:43:49.753Z] [INFO] Results:
[2020-04-24T11:43:49.753Z] [INFO] 
[2020-04-24T11:43:49.753Z] [ERROR] Errors: 
[2020-04-24T11:43:49.753Z] [ERROR]   EchoColorStepTests.test:36 » MissingMethod No signature of method: EchoColorSt...
[2020-04-24T11:43:49.753Z] [INFO] 
[2020-04-24T11:43:49.753Z] [ERROR] Tests run: 473, Failures: 0, Errors: 1, Skipped: 0
[2020-04-24T11:43:49.753Z] [INFO] 
[2020-04-24T11:43:49.753Z] [INFO] ------------------------------------------------------------------------
[2020-04-24T11:43:49.753Z] [INFO] BUILD FAILURE
[2020-04-24T11:43:49.753Z] [INFO] ------------------------------------------------------------------------
[2020-04-24T11:43:49.753Z] [INFO] Total time: 38.458 s
[2020-04-24T11:43:49.753Z] [INFO] Finished at: 2020-04-24T12:43:49+01:00
[2020-04-24T11:43:49.753Z] [INFO] ------------------------------------------------------------------------
[2020-04-24T11:43:49.753Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project jenkins-library: There are test failures.
[2020-04-24T11:43:49.753Z] [ERROR] 
[2020-04-24T11:43:49.753Z] [ERROR] Please refer to /private/tmp/workspace/mbp_PR-488/src/github.com/elastic/apm-pipeline-library/target/surefire-reports for the individual test results.
[2020-04-24T11:43:49.753Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2020-04-24T11:43:49.753Z] [ERROR] -> [Help 1]
[2020-04-24T11:43:49.753Z] [ERROR] 
[2020-04-24T11:43:49.753Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[2020-04-24T11:43:49.753Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2020-04-24T11:43:49.753Z] [ERROR] 
[2020-04-24T11:43:49.753Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2020-04-24T11:43:49.753Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[Pipeline] }
[Pipeline] // dir
[Pipeline] githubNotify
Post stage
[Pipeline] archiveArtifacts
[2020-04-24T11:43:51.367Z] Archiving artifacts
[Pipeline] junit
[2020-04-24T11:43:51.390Z] Recording test results
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check Pipelines)
Stage "Check Pipelines" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release)
Stage "Release" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] node
[2020-04-24T11:43:51.853Z] Running on local in /tmp/workspace/mbp_PR-488@2
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Reporting build status)
[Pipeline] echo
[2020-04-24T11:43:51.879Z] [INFO] getVaultSecret: Getting secrets
[Pipeline] withCredentials
[2020-04-24T11:43:51.899Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] wrap
[Pipeline] {
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] catchError
[Pipeline] {
[Pipeline] isUnix
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] sh

@elasticmachine
Copy link

elasticmachine commented Apr 24, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts stats

Expand to view the summary

Build stats

  • Build Cause: [Started by user anonymous]

  • Start Time: 2020-04-24T12:37:00.093+0000

  • Duration: 2 min 22 sec (142064)

  • Commit: 5ca6e76

Test stats 🧪

Test Results
Failed 0
Passed 486
Skipped 6
Total 492

Log output

Expand to view the last 100 lines of log output

[2020-04-24T12:39:12.810Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 s - in CheckoutStepTests
[2020-04-24T12:39:12.810Z] [INFO] Running GithubCreateIssueStepTests
[2020-04-24T12:39:13.074Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in GithubCreateIssueStepTests
[2020-04-24T12:39:13.074Z] [INFO] Running UpdateGithubCommitStatusStepTests
[2020-04-24T12:39:13.074Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in UpdateGithubCommitStatusStepTests
[2020-04-24T12:39:13.074Z] [INFO] Running NexusStagingCreate500Tests
[2020-04-24T12:39:14.469Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.068 s - in NexusStagingCreate500Tests
[2020-04-24T12:39:14.469Z] [INFO] Running GithubCreatePullRequestStepTests
[2020-04-24T12:39:14.469Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.277 s - in GithubCreatePullRequestStepTests
[2020-04-24T12:39:14.469Z] [INFO] Running IsUpstreamTriggerStepTests
[2020-04-24T12:39:14.469Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 s - in IsUpstreamTriggerStepTests
[2020-04-24T12:39:14.469Z] [INFO] Running GetModulesFromCommentTriggerStepTests
[2020-04-24T12:39:14.731Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 s - in GetModulesFromCommentTriggerStepTests
[2020-04-24T12:39:14.732Z] [INFO] Running IsGitRegionMatchStepTests
[2020-04-24T12:39:15.688Z] [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.856 s - in IsGitRegionMatchStepTests
[2020-04-24T12:39:15.688Z] [INFO] Running SetGithubCommitStatusStepTests
[2020-04-24T12:39:15.688Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in SetGithubCommitStatusStepTests
[2020-04-24T12:39:15.688Z] [INFO] Running SendDataToElasticsearchStepTests
[2020-04-24T12:39:15.689Z] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 s - in SendDataToElasticsearchStepTests
[2020-04-24T12:39:15.689Z] [INFO] 
[2020-04-24T12:39:15.689Z] [INFO] Results:
[2020-04-24T12:39:15.689Z] [INFO] 
[2020-04-24T12:39:15.689Z] [INFO] Tests run: 473, Failures: 0, Errors: 0, Skipped: 0
[2020-04-24T12:39:15.689Z] [INFO] 
[2020-04-24T12:39:15.689Z] [INFO] ------------------------------------------------------------------------
[2020-04-24T12:39:15.689Z] [INFO] BUILD SUCCESS
[2020-04-24T12:39:15.689Z] [INFO] ------------------------------------------------------------------------
[2020-04-24T12:39:15.689Z] [INFO] Total time: 36.502 s
[2020-04-24T12:39:15.689Z] [INFO] Finished at: 2020-04-24T13:39:15+01:00
[2020-04-24T12:39:15.689Z] [INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // dir
[Pipeline] githubNotify
Post stage
[Pipeline] archiveArtifacts
[2020-04-24T12:39:17.649Z] Archiving artifacts
[2020-04-24T12:39:17.673Z] ‘${BASE_DIR}/**/mail-out-test*.html’ doesn’t match anything, but ‘**/mail-out-test*.html’ does. Perhaps that’s what you mean?
[2020-04-24T12:39:17.673Z] No artifacts found that match the file pattern "${BASE_DIR}/**/mail-out-test*.html". Configuration error?
[Pipeline] junit
[2020-04-24T12:39:17.684Z] Recording test results
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check Pipelines)
[Pipeline] githubNotify
[Pipeline] dir
[2020-04-24T12:39:19.183Z] Running in /tmp/workspace/mbp_PR-488/src/github.com/elastic/apm-pipeline-library
[Pipeline] {
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.227Z] Declarative Pipeline file '.ci/Jenkinsfile' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.257Z] Declarative Pipeline file '.ci/buildBeatsDockerImages.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.309Z] Declarative Pipeline file '.ci/buildDockerImages.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.344Z] Declarative Pipeline file '.ci/dockerImagesOpbeans.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.361Z] Declarative Pipeline file '.ci/schedule-daily.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.378Z] Declarative Pipeline file '.ci/schedule-weekly.groovy' is valid.
[Pipeline] validateDeclarativePipeline
[2020-04-24T12:39:19.420Z] Declarative Pipeline file 'resources/JenkinsfileTemplate.groovy' is valid.
[Pipeline] }
[Pipeline] // dir
[Pipeline] githubNotify
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release)
Stage "Release" skipped due to when conditional
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] node
[2020-04-24T12:39:21.093Z] Running on local in /tmp/workspace/mbp_PR-488@2
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Reporting build status)
[Pipeline] echo
[2020-04-24T12:39:21.123Z] [INFO] getVaultSecret: Getting secrets
[Pipeline] withCredentials
[2020-04-24T12:39:21.145Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[Pipeline] {
[Pipeline] retry
[Pipeline] {
[Pipeline] wrap
[Pipeline] {
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // retry
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] catchError
[Pipeline] {
[Pipeline] isUnix
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] sh

@v1v v1v added enhancement New feature or request and removed ci labels Apr 24, 2020
@botelastic botelastic bot added the ci label Apr 24, 2020
@v1v v1v marked this pull request as ready for review April 24, 2020 12:36
@v1v v1v requested a review from a team April 24, 2020 12:37
@kuisathaverat
Copy link
Contributor

The URLs have a \\ some will fail when you access

http://localhost:18080/blue/organizations/jenkins/mbp%2FPR-488/detail/PR-488/12//changes

@v1v
Copy link
Member Author

v1v commented Apr 24, 2020

The URLs have a \ some will fail when you access

Indeed, I'm testing it with my local jenkins instance:

image

Copy link
Contributor

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is great!!!!

@v1v v1v merged commit eda4cee into elastic:master Apr 24, 2020
@v1v v1v deleted the feature/notifications branch April 24, 2020 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants