lukaszkujawa / jenkins-php-quickstart Goto Github PK
View Code? Open in Web Editor NEWSkeleton project for Jenkins PHP
Skeleton project for Jenkins PHP
When installing the package on an OpenSuSe 13.1 system, I get the following messages:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package theseer/phpdox could not be found in any version, there may be a typo in the package name.
Problem 2
- Installation request for pear/log dev-master -> satisfiable by pear/log[dev-master].
- pear/log dev-master requires pear/pear_exception 1.0-beta1 -> no matching package found.
Problem 3
- pear/log dev-master requires pear/pear_exception 1.0-beta1 -> no matching package found.
- mayflower/php-codebrowser 1.0.4 requires pear/log dev-master -> satisfiable by pear/log[dev-master].
- Installation request for mayflower/php-codebrowser 1.0.*@dev -> satisfiable by mayflower/php-codebrowser[1.0.4].
Potential causes:
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
The exception package can be installed by changing the exception line in the file composer.json to "pear/pear_exception": "1.0-beta1",.
I haven't managed to install the phpdox package via composer, only by hand.
PHPUnit included under Vendor does not support Crap4J option; needs to be updated to more modern version.
I did exactly as proposed on the page linked with the extended tutorial, this is what I get:
Gestartet durch Benutzer anonymous
Baue in Arbeitsbereich /home/foo/jenkins-php-quickstart
[jenkins-php-quickstart] $ /bin/sh -xe /tmp/hudson7093402616164569710.sh
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml
[PMD] Collecting PMD analysis files...
[PMD] Finding all files that match the pattern build/logs/pmd.xml
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
Recording plot data
Publishing Clover coverage report...
Clover xml file does not exist in: /home/foo/jenkins-php-quickstart called: build/logs/clover.xml and will not be copied to: /var/lib/jenkins/jobs/TestProjekt/builds/2014-05-11_17-07-34/cloverphp/clover.xml
Could not find 'build/coverage/build/logs/clover.xml'. Did you generate the XML report for Clover?
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/foo/jenkins-php-quickstart/build/api to /var/lib/jenkins/jobs/TestProjekt/builds/2014-05-11_17-07-34/htmlreports/API_Documentation
ERROR: Specified HTML directory '/home/foo/jenkins-php-quickstart/build/api' does not exist.
Build step 'Publish HTML reports' changed build result to FAILURE
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/home/foo/jenkins-php-quickstart' for the testing framework 'PHPUnit-3.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'PHPUnit-3.x (default)'?
[xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build/logs/junit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'build/logs/jdepend.xml'java.io.FileNotFoundException: /home/foo/jenkins-php-quickstart/build/logs/jdepend.xml (Datei oder Verzeichnis nicht gefunden)
Finished: FAILURE
It is true, setting CI up is one of the MAJOR downsides...
On debian wheezy I get:
composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for theseer/phpdox 0.5.*@dev -> satisfiable by theseer/phpdox[0.5.x-dev].
- theseer/phpdox 0.5.x-dev requires nikic/php-parser >=1.0.0 -> no matching package found.
Potential causes:
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.