Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-6140

PHPUnit builder fails by default on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.6.2, 2.7 M3, 2.7
    • 2.6.1
    • Tasks
    • None
    • Windows 7

    Description

      I installed Babmoo 2.6.1. It found PHPUnit and added PHPUnit builder correctly without any user action.
      However when I created and started a plan using the PHPUnit builder it fails with following error:

      Failed to execute build: Cannot run program "C:\Program Files (x86)\PHP\phpunit" (in directory "C:\Users\Jacek Jaroczynski\bamboo-home\xml-data\build-dir\TEST-TEST"): CreateProcess error=193, %1 is not a valid Win32 application
      

      The solution was to explicitly configure PHPUnit builder to point at phpunit.bat instead of phpunit

      Attachments

        Activity

          People

            kbrazulewicz Krystian Brazulewicz
            jjaroczynski Jacek Jaroczynski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: