Commit graph

31 commits

Author SHA1 Message Date
Dmitry Khomutov
e5164ae1dd Refactored structure 2016-06-23 21:18:41 +06:00
Adirelle
3427252cfe When starting a manual build, replace the "Manual" commit id with the HEAD hash.
Close #928
2015-04-23 13:13:29 +02:00
Tobias van Beek
60e5d53f44 Add the --recursive parameter to the git clone to get the submodules 2015-04-09 12:03:08 +02: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
Emmanuel Vella
dae95a1bec Remote Git Build: Use --quiet to checkout specific revision silently
Without the ``--quiet`` parameter, the cron error output get this message :

```

Note: checking out 'fe0fcd1b79f0db3d49fe6e50765bcb527e29980b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at fe0fcd1...
```

Closes #485
2014-07-11 15:56:49 +01:00
Jeffrey Brubaker
3434c2714f resolve issue with undefined variable in Windows 2014-07-03 16:55:34 -04:00
Dan Cryer
d639f4a324 Renaming project.git_key and project.public_key to project.ssh_private_key and project.ssh_public_key respectively. 2014-05-13 15:15:33 +00:00
Dan Cryer
d098fabdb6 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer
1696e503b8 Update GithubBuild to allow for testing pull requests, hopefully 2014-05-12 15:18:42 +01:00
Dan Cryer
ca6890a5c3 Implement clone_depth setting in build_settings, to allow shallow clones. Fixes #391 2014-05-05 21:03:44 +01:00
Dan Cryer
4197c9e34d Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer
aa02b5be31 Updating RemoteGitBuild to support a Git SSH wrapper. See #114 2014-04-16 16:38:19 +00:00
Dmitry Khomutov
ea35f24d47 Moved handleConfig functionality into general Build method. 2014-03-15 12:22:59 +07:00
Dmitry Khomutov
60bf262ee7 Added database-based yml build config 2014-03-15 12:18:12 +07:00
Dmitry Khomutov
d0f6d295a1 Fixed 'cd' command for windows 2014-03-13 00:37:57 +07:00
Dmitry Khomutov
e3ff9d405a Fixed git checkout for commitId = 'Manual' 2014-03-13 00:05:54 +07: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
Dan Cryer
e6ef498db4 Adding support for HTTP commit-based builds too 2014-02-24 20:34:31 +00:00
Dan Cryer
43ecd57775 Adding support for building specific revisions, rather than just branches 2014-02-24 20:28:18 +00:00
Dan Cryer
77fae9a56d Holy cleanup, batman. 2013-10-10 01:01:06 +01:00
Dan Cryer
b47dfbd0b3 Various bug fixes 2013-07-30 02:55:29 +01:00
Sanpi
7f09e4df07 Allow arbitrary repository URL 2013-06-19 17:47:25 +02:00
Steve Kamerman
abcc5f13d8 Fixed GitHub Remote SSH build authentication errors 2013-05-16 14:20:40 -04:00
Steve Kamerman
6ad3c0894e Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-16 13:40:22 -04:00
Dan Cryer
14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Steve Kamerman
02632f8799 Bugfix: Remote GitHub builds fail 2013-05-16 11:57:47 -04:00
Dan Cryer
11a3e3403f PHPCI/Helper and PHPCI/Model PSR2 compliance. Issue #18 2013-05-16 15:41:15 +01:00
Dan Cryer
160540b6ee Add class-level docblock to every file. 2013-05-16 02:30:48 +01:00
Dan Cryer
6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
Dan Cryer
a5a03e1f07 Switching executeCommand() to use sprintf for parameters, and all the plugins to pass params separately. See #12, closes #24 2013-05-16 00:19:24 +01:00
Dan Cryer
be37a5e821 Refactoring builds out into separate model types (Github, Bitbucket, Local) and builder to use build->createWorkingCopy() to make build directory. Fixes #29 2013-05-15 23:47:37 +01:00