zebrunner / community-edition

Zebrunner is a Test Automation Management Tool
https://zebrunner.github.io/community-edition
Apache License 2.0
220 stars 54 forks source link

OnPush-carina demo request doesn't work with Bitbucket #420

Closed dhreben closed 1 year ago

dhreben commented 3 years ago

Test scenario:

1.Sign in Bitbucket 2.Migrate carina-demo project to Bitbucket 3.Open Jenkins 4.Run RegisterOrganization 5.Tap RegisterRepository

6.Run build

  1. Open your terminal and run the following command echo -n username:password | base64 where username and password are your BitBucket credentials, this will return a token encoded in base64. 8.Open BitBucket repository page with carina-demo 9.Tap Repository Settings 10.Tap Webhooks 11.Tap add webhook. 12.Enter http://your-zebrunner-domain.com/jenkins/generic-webhook-trigger/invoke?token=bitbucket-token-here into URL field. 13.Check that Repository push is selected. 14.Tap save 15.Open repository page with carina-demo 16.Tap Readmi.md 17.Tap edit 18.Make small changes e.g. put a dot 19.Tap Commit 19.Open jenkins 20.Open your Bitbucket organization 21.Tap Carina-demo 22.Check that OnPush-carina-demo run new build.

Actual result : OnPush-carina demo request doesn't work with Bitbucket.

azarouski commented 1 year ago

PR - https://github.com/zebrunner/pipeline-ce/pull/310 Need to retest

dhreben commented 1 year ago

java.util.MissingFormatArgumentException: Format specifier '%s' after create RegisterRepository

vdelendik commented 1 year ago

@dhreben - make sure RegisterRepository has latest develop pipeline branch for Zebrunner-CE. Based on the error it uses master or main...

dhreben commented 1 year ago

Fixed

Steps:

  1. Open Bitbucket
  2. Create repository
  3. Clone carina-demo
  4. Select main branch
  5. Open Jenkins -> Management_Jobs -> RegisterOrganization-> Build
  6. Tap RegisterRepository