Sha256: 49facf1ed0438a388ac47a015825914ae5d48dfe26179b413c82efb40aae1fea

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

Feature: Show build details
  I want to see details about a particular build for a job I'm interested in

  Scenario: Show build details for a job on a non-existent server (jenkins build_details)
    When I run local executable "jenkins" with arguments "build_details ruby 1 --host localhost --port 9999"
    Then I should see exactly
      """
      No connection available to the server.
      """
  
  Scenario: Show build details for a non-existent job (jenkins build_details)
    Given I have a Jenkins server running
    And the Jenkins server has no current jobs
    When I run local executable "jenkins" with arguments "build_details ruby 1 --host localhost --port 3010"
    Then I should see exactly
      """
      ERROR: Cannot find project 'ruby'.
      """
  
  Scenario: Show build details for a job (jenkins build_details)
    Given I have a Jenkins server running
    And the Jenkins server has no current jobs
    And I am in the "ruby" project folder
    And the project uses "git" scm
    When I run local executable "jenkins" with arguments "create . --host localhost --port 3010"
    When I run local executable "jenkins" with arguments "build"
    When I wait for ruby build 1 to start
    When I run local executable "jenkins" with arguments "build_details ruby 1 --host localhost --port 3010 --json"
    Then I should see
      """
      "number":1
      """
    And I should see
      """
      "actions":[
      """
    And I should see
      """
      "changeSet":{
      """
  
  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jenkins-0.6.8 features/build_details.feature
jenkins-0.6.6 features/build_details.feature
jenkins-0.6.5 features/build_details.feature