Page MenuHomeIn-Portal Phabricator

INP-1214 - Prepare for usage with Jenkins/Phing
ClosedPublic

Authored by alex on May 16 2015, 10:19 AM.

Details

Summary

The following must be changed, before commiting this patch:

  • add build and tmp folder to svn:ignore of root In-Portal folder
  • add the build.properties file to svn:ignore of tools/build folder
Test Plan
  1. login to shell
  2. follow instructions on top of the /tools/build/targets/common.xml file
  3. logout from shell and login again for changes to take effect
  4. run composer install command in root In-Portal folder to install missing dependencies
  5. create the /tools/build/build.properties file by copy-pasting build.properties.dist and customizing the values or use mine:
local.build=1
base.dir=../..
client.ip.address=10.0.0.1
cli.key=b674006f3edb1d9cd4d838c150b0567d

website.domain=vm.aik.ninja
website.path=/d/in-portal.52x

db.host=localhost
db.user=username_here
db.password=password_here
db.name=alex_inportal_52x_jenkins
db.tableprefix=52x_
  1. go to root In-Portal folder
  2. run phing -f tools/build/build_custom.xml
  3. confirm, that command executed without issues
  4. run phing -f tools/build/build_all.xml
  5. confirm, that command executed without issues
  6. run phing -f tools/build/build_custom.xml phpcs
  7. confirm, that PHP_CodeSniffer errors from Custom module are displayed
  8. run phing -f tools/build/build_all.xml php
  9. confirm, that PHP_CodeSniffer errors from core+modules folders are displayed

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 189.May 16 2015, 10:19 AM
alex retitled this revision from to INP-1214 - Prepare for usage with Jenkins/Phing.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1214.
alex updated this revision to Diff 190.May 16 2015, 10:21 AM
alex edited edge metadata.

Updated installation instructions

glebs accepted this revision.May 18 2015, 3:47 PM
glebs edited edge metadata.
This revision is now accepted and ready to land.May 18 2015, 3:47 PM
alex updated this revision to Diff 192.May 18 2015, 7:55 PM
alex edited edge metadata.

Include PHP_CodeSniffer in installation instructions

This revision was automatically updated to reflect the committed changes.