modess / php-jenkins Goto Github PK
View Code? Open in Web Editor NEWBoilerplate for setting up continuos integration of PHP applications using Jenkins
Boilerplate for setting up continuos integration of PHP applications using Jenkins
I'm facing an issue I cannot figure out why.
This folder /var/lib/jenkins/workspace/Credenciales/build/ exists and this other /var/lib/jenkins/workspace/Credenciales/build/logs also.
I set 777 persmission to all folders and files.
I followed this guide https://modess.io/jenkins-php/
Still failing, graphs are empty.
Helps is very appreciated.
`
BUILD FAILED
/var/lib/jenkins/workspace/Credenciales/build.xml:168: exec returned: 2
Total time: 1 minute 5 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Parsing warnings in console log with parser PHP Runtime
[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...
Publishing Clover HTML report...
Publishing Clover XML report...
Publishing Clover coverage results...
[CRAP4J] Collecting Crap4J analysis files...
[CRAP4J] Searching for report files within build/logs/crap4j.xml
[CRAP4J] Using the new FileSetBuilder
[CRAP4J] Got a report bean with 161 crap methods out of 3834 methods.
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /var/lib/jenkins/workspace/Credenciales/build/api to /var/lib/jenkins/jobs/Credenciales/builds/11/htmlreports/API_Documentation
ERROR: Directory '/var/lib/jenkins/workspace/Credenciales/build/api' exists but failed copying to '/var/lib/jenkins/jobs/Credenciales/builds/11/htmlreports/API_Documentation'.
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/workspace/Credenciales' for the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [INFO] - Check 'Failed Tests' threshold.
[xUnit] [INFO] - The total number of tests for this category exceeds the specified 'failure' threshold value.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'build/logs/jdepend.xml'java.io.FileNotFoundException: /var/lib/jenkins/workspace/Credenciales/build/logs/jdepend.xml (No such file or directory)
Finished: FAILURE`
I have one unrecognized option when execute the file build.xml whit ant,
BUILD FAILED
exec returned: 1
As the title, I pretty confuse why your build have that check. By that, build may install different packages that ran in local => may cause random bug
Hi i am installing jenkins-laravel continuos integration, but i see missing files:
there is the file:
phpunit-bootstrap.php (PHPUnit bootstrap script)
It's a problem? i'don't see this in the git
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.