Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22788

Contributing 1st Gerrit-Trigger plugin (integration) test for review flags

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • Scenario: Gerrit has its Change review flags checked after Jenkins set them-

      GerritTriggerTest.java =>

      • Scenario: Gerrit has its Change review flags checked after Jenkins set them-<br>
      • Given a Jenkins instance that is either test-default or type=existing<br>
      • And a gerrit-trigger plugin that is either test-default or pre-installed<br>
      • And an existing Gerrit instance configured in that Jenkins<br>
      • When I push a Change that builds successfully for review<br>
      • Then Jenkins does build it successfully indeed<br>
      • And Jenkins sets the Change review flags accordingly towards Gerrit<br>
      • And Gerrit then consider these flags as checked.

          [JENKINS-22788] Contributing 1st Gerrit-Trigger plugin (integration) test for review flags

          Marco Miller added a comment - - edited

          GerritTriggerTest.java =>

          • Set these (data) at mvn-test command line to use this test:<br>
          • <br>
          • - gtGerrituser=companion<br>
          • - gtHostname=gerrit.company.com<br>
          • - gtNoProxyForHost=set (optional)<br>
          • - gtProject=changed/by/this/test<br>
          • - gtUserhome=/home/companion<br>
          • Plus,<br>
          • - gtUserhome/.netrc shall point to that gtHostname with gtGerrituser/pwd<br>
          • - http_proxy might need to be set, if no gerrit-trigger plugin pre-installed.

          Marco Miller added a comment - - edited GerritTriggerTest.java => Set these (data) at mvn-test command line to use this test:<br> <br> - gtGerrituser=companion<br> - gtHostname=gerrit.company.com<br> - gtNoProxyForHost=set (optional)<br> - gtProject=changed/by/this/test<br> - gtUserhome=/home/companion<br> Plus,<br> - gtUserhome/.netrc shall point to that gtHostname with gtGerrituser/pwd<br> - http_proxy might need to be set, if no gerrit-trigger plugin pre-installed.

            marcomiller Marco Miller
            marcomiller Marco Miller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: