Dan Cryer
28ad88cff9
Big update: New way of storing build errors, updated UI, AdminLTE 2, fixes, etc.
2015-10-15 10:07:54 +01:00
Stephen Ball
ffc3252fae
Clean up PHPCS issue
2015-10-13 16:31:17 +01:00
Stephen Ball
c42d2f3dad
Added a fixed and broken stage
2015-10-13 16:22:39 +01:00
Adirelle
425735c2a5
Let CommandExecutor::findBinary throw an exception when the binary is missing.
...
Close #910
2015-04-22 12:19:05 +02:00
Adirelle
ccdc73326d
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
c171545778
Fixing symlink removal.
...
Closes #854
2015-03-10 19:11:43 +00:00
nonlux
8177d6742e
Set the CommandExecutor buildPath property when a build is created.
...
Closes #556
2015-02-23 14:42:04 +00:00
Dan Cryer
28d09275fd
Merging latest master
2014-12-08 14:18:57 +00:00
Dan Cryer
9fda9ed989
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
633608249f
Builder, build plugins
2014-12-04 15:48:52 +00:00
Dan Cryer
bd47766d63
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
07f84a28d0
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
d098fabdb6
Adding / correcting the file docblock throughout the project
2014-05-12 17:26:17 +01:00
Dmitry Khomutov
a6cbd7cad8
Fixes
2014-05-09 23:55:13 +07:00
Dmitry Khomutov
495d14ed7b
Separeted CommandExecutor for different OS
2014-05-09 19:09:27 +07:00
Dmitry Khomutov
49de515089
Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand
2014-05-09 14:25:24 +07:00
Dan Cryer
c253634f4b
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
66bfcea8ed
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
775e8d7493
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
98aa35d159
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
943cb7458a
fix BuildLogger instantiation
2014-03-26 08:22:27 +01:00
Steve B
b7e2bdde6e
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
060a786303
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
Dmitry Khomutov
0896b683a5
Fixed rm for windows
2014-03-20 22:27:06 +07:00
Dmitry Khomutov
27023e157a
Fixed rm for windows
2014-03-20 22:27:05 +07:00
steve.brazier
b1bc6f6db3
format tidy up of buildPluginFactory()
2014-03-10 12:28:42 +00:00
steve.brazier
96319f52c2
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
meadsteve
42e462b4c9
remove leading slash.
2013-11-17 21:29:49 +00:00
meadsteve
9d1d2443a9
Move the mailer constructor logic out of the plugin and in to a factory class for reuse.
2013-11-17 21:26:38 +00:00
meadsteve
a56df8ed87
Merge HEAD, branch 'master' of https://github.com/Block8/PHPCI into plugin-builder
2013-11-17 17:25:35 +00:00