OxGroup
fa66a20a9c
Merge 7bdc1b9362
into 64b0f60368
2016-11-23 21:36:40 +00:00
David Rimbault
db93f55427
[FIX] Running Complete stage even on Exception catch. ( #1186 )
2016-04-27 16:59:29 +01:00
aliaxander
c58d544734
Remove build
2016-02-21 20:22:36 +03:00
Dan Cryer
7f823b37cf
Big update: New way of storing build errors, updated UI, AdminLTE 2, fixes, etc.
2015-10-15 10:07:54 +01:00
Stephen Ball
3f71695013
Clean up PHPCS issue
2015-10-13 16:31:17 +01:00
Stephen Ball
8e0122f6a0
Added a fixed and broken stage
2015-10-13 16:22:39 +01:00
Adirelle
f25b1d25dc
Let CommandExecutor::findBinary throw an exception when the binary is missing.
...
Close #910
2015-04-22 12:19:05 +02:00
Adirelle
9590336c49
Added a new configuration variable, PHPCI_BUILD_ROOT_DI.
...
This variable allows to change where the build happens.
It defaults to PHPCI_DIR.'PHPCI/build/'.
Moved build path calculate and build removal into the Build class.
Also remove the build directory when deleting the build.
Close #834
2015-04-22 11:44:54 +02:00
vsguts
a188afb0da
Fixing symlink removal.
...
Closes #854
2015-03-10 19:11:43 +00:00
nonlux
893deada33
Set the CommandExecutor buildPath property when a build is created.
...
Closes #556
2015-02-23 14:42:04 +00:00
Dan Cryer
9de19d6bbb
Merging latest master
2014-12-08 14:18:57 +00:00
Dan Cryer
7f9a09fa29
Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
...
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer
5dd42da9a0
Builder, build plugins
2014-12-04 15:48:52 +00:00
Dan Cryer
f562de55c7
Allow PHPCI to mark builds as failed if the builder crashed, after a user-defined timeout. Limit to one build per project in RunCommand.
...
Fixes #623
2014-12-01 17:04:03 +00:00
Stéphane HULARD
8e23dee03a
Allow the binary finder to use the project's composer.json file
...
- Load JSON file and get bin-dir value: https://getcomposer.org/doc/articles/vendor-binaries.md
- Update finder behaviour to avoid code duplication
Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2014-07-04 11:02:27 +02:00
Dan Cryer
5ba629e874
Adding / correcting the file docblock throughout the project
2014-05-12 17:26:17 +01:00
Corpsee
2476086f7c
Fixes
2014-05-09 23:55:13 +07:00
Corpsee
d32c43713d
Separeted CommandExecutor for different OS
2014-05-09 19:09:27 +07:00
Corpsee
a42dc67fad
Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand
2014-05-09 14:25:24 +07:00
Dan Cryer
d98e85ffc3
Removing success field from Builder as it is only used in one method, see #382
2014-05-02 14:58:21 +00:00
Dan Cryer
985c51c5e4
Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305
2014-04-25 11:28:27 +00:00
Dan Cryer
6917e88f9b
Adding global try/catch in Builder, in hope of fixing forever-hanging. Closes #354 , Closes #304
2014-04-16 09:05:48 +01:00
Dan Cryer
6513454265
Adding global try/catch in Builder, in hope of fixing forever-hanging. Closes #354 , Closes #304
2014-04-16 09:05:46 +01:00
Remo Laubacher
5892fcb26e
fix BuildLogger instantiation
2014-03-26 08:22:27 +01:00
Steve B
ff6dfefb98
Merge pull request #307 from meadsteve/feature/pluginfactoryconfig
...
Allow configuration of the plugin factory on a per install basis
2014-03-25 14:20:02 +00:00
steve.brazier
cc71045e57
Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
...
Conflicts:
PHPCI/Builder.php
PHPCI/Plugin/Util/Factory.php
2014-03-25 14:13:45 +00:00
Corpsee
b28b5a575f
Fixed rm for windows
2014-03-20 22:27:06 +07:00
Corpsee
b2240104b4
Fixed rm for windows
2014-03-20 22:27:05 +07:00
steve.brazier
851f637899
format tidy up of buildPluginFactory()
2014-03-10 12:28:42 +00:00
steve.brazier
9c24fbaecb
Psr\Log\LoggerInterface to the types that the plugin factory supplies by default.
2014-03-10 12:27:17 +00:00
meadsteve
20d5e5a6b2
Add code to builder so pluginconfig.php is loaded if found in the root
2014-03-02 20:00:43 +00:00
steve.brazier
b421b20935
fix code sniff violations.
2014-02-26 14:35:14 +00:00
Dan Cryer
d2d966ee69
Fixing bug in Builder related to the new PHPCI\Store
2014-02-25 16:59:28 +00:00
Dan Cryer
d935c94041
Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on.
2014-02-25 10:16:58 +00:00
meadsteve
cfb0db5b81
fixing builder so that PluginExecutor receives BuildLogger instance
2013-12-17 15:44:49 +00:00
meadsteve
1b2f19c81f
remove interopolation code from builder and make use of BuildInterpolator object.
2013-12-17 15:24:13 +00:00
meadsteve
1bc2117c69
extracted build logging logic from the Builder class.
2013-12-13 15:57:56 +00:00
meadsteve
3a3cc98f86
rename CommandExecutor::executeCommand() so that it's not confused with the Builder::executeCommand()
2013-12-13 14:41:02 +00:00
steve.brazier
8d8714746c
move findBinary from Builder to CommandExecutor.
2013-12-12 16:17:11 +00:00
steve.brazier
5801c6083e
move command execution code out of builder class
2013-12-12 14:15:44 +00:00
meadsteve
169a92dfeb
refactor the plugin stage calling code.
2013-12-07 14:45:13 +00:00
Steve B
03aeb7e3b1
remove unreachable if
2013-12-07 14:33:59 +00:00
Steve B
ce88f50958
fix the plugin executor so that the status is correctly reported.
2013-12-07 13:53:05 +00:00
steve.brazier
6aed18158b
extract the success/failure logging of the builder to an interface.
2013-12-06 11:31:39 +00:00
meadsteve
912776801d
move plugin execution code in to helper class.
2013-12-06 11:26:56 +00:00
steve.brazier
9207c39105
remove non existent variable.
2013-12-06 09:59:32 +00:00
steve.brazier
a942525f84
switch to correct namespace separator in plugin construction.
2013-12-06 09:59:07 +00:00
Steve B
99adec03d5
allow non phpci native plugins.
2013-11-28 14:23:11 +00:00
meadsteve
6467a83d1a
adds additional comments to plugin factory.
2013-11-17 22:31:51 +00:00
meadsteve
2bc7558b93
wiring in the plugin factory. doh!
2013-11-17 21:38:51 +00:00