Created
May 3, 2015 17:06
-
-
Save tomasnorre/a29bc062d53172a0d87f to your computer and use it in GitHub Desktop.
$repository->removeAll()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "FLOW_CONTEXT: $FLOW_CONTEXT ... " | |
mkdir -p Quickstart/Packages/Applications/TomasNorre.GolfnetInvitational/ | |
cd Quickstart/Packages/Applications/TomasNorre.GolfnetInvitational/ | |
git clone [email protected]:tomasnorre/tomasnorre.golfnetinvitational.git . | |
cd - | |
cd Quickstart | |
./flow package:activate TomasNorre.GolfnetInvitational | |
./flow flow:cache:flush | |
cd .. | |
#cp /var/www/gni-live.dk/latest/shared/Configuration/Testing/Settings.yaml Quickstart/Configuration/Testing/Settings.yaml | |
phpunit -c Quickstart/Build/BuildEssentials/PhpUnit/UnitTests.xml Tests/Unit | |
phpunit -c Quickstart/Build/BuildEssentials/PhpUnit/FunctionalTests.xml Tests/Functional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[workspace] $ /bin/sh /tmp/hudson2340233296202338738.sh | |
FLOW_CONTEXT: Testing ... | |
Cloning into '.'... | |
/var/lib/jenkins/jobs/gnilive_qa_phpunit/workspace | |
Package "TomasNorre.GolfnetInvitational" is already active. | |
Flushed all caches for "Testing" context. | |
PHPUnit 4.3.5 by Sebastian Bergmann. | |
Configuration read from /var/lib/jenkins/jobs/gnilive_qa_phpunit/workspace/Quickstart/Build/BuildEssentials/PhpUnit/UnitTests.xml | |
....................... | |
Time: 132 ms, Memory: 5.50Mb | |
OK (23 tests, 32 assertions) | |
PHPUnit 4.3.5 by Sebastian Bergmann. | |
Configuration read from /var/lib/jenkins/jobs/gnilive_qa_phpunit/workspace/Quickstart/Build/BuildEssentials/PhpUnit/FunctionalTests.xml | |
PHP Fatal error: Call to a member function removeAll() on a non-object in /var/lib/jenkins/jobs/gnilive_qa_phpunit/workspace/Tests/Functional/Domain/Repository/PlayerRespositoryTest.php on line 47 | |
Build step 'Execute shell' marked build as failure | |
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered | |
Finished: FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment