Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Boilerplate for setting up continuos integration of Laravel using Jenkins

Notifications You must be signed in to change notification settings

BlairStewart/laravel-jenkins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-jenkins

Boilerplate for setting up continuous integration of PHP applications using Jenkins.

Installation / setup

Clone or download the files and directories, and add them to your repository.

Configure your source and test directories in:

build.xml

[...]
<property name="src-dir" value="${basedir}/src" />
[...]

phpunit.xml.dist

[...]
<directory>./tests/</directory>
[...]
<directory>./src/</directory>
[...]

build/phpdox.xml

[...]
<project name="Example" source="src" workdir="${basedir}/api/xml">
[...]

Build Targets

Here are the list of build targets that are defined within the build.xml:

  • build (DEFAULT)
  • build-clean
  • build-parallel
  • build-parallel-clean
  • build-common
  • tools-parallel - Run tools in parallel
  • clean - Cleanup build and composer artifacts
  • clean-build - Cleanup build artifacts
  • clean-composer - Cleanup composer artifacts
  • composer - Install or update dependencies
  • composer.check
  • composer-install - Installing dependencies
  • composer-update - Updating dependencies
  • lint - Perform syntax check of sourcecode files
  • pdepend - Calculate software metrics using PHP_Depend
  • phpcb - Aggregate tool output with PHP_CodeBrowser
  • phpcpd - Find duplicate code using PHPCPD
  • phpcs - Find coding standard violations using PHP_CodeSniffer and print human readable output. Intended for usage on the command line before committing
  • phpcs-ci - Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server
  • phpdox - Generate API documentation using phpDox
  • phploc - Measure project size using PHPLOC
  • phpmd - Perform project mess detection using PHPMD and print human readable output. Intended for usage on the command line before committing.
  • phpmd-ci - Perform project mess detection using PHPMD creating a log file for the continuous integration server
  • phpunit - Run unit tests with PHPUnit
  • prepare - Prepare for build

References

This boilerplate comes from glueing together a collection of post on the internet

About

Boilerplate for setting up continuos integration of Laravel using Jenkins

Resources

Stars

Watchers

Forks

Packages

No packages published