Skip to content

Template build configuration files for use with the docker-jenkins-php project

License

Notifications You must be signed in to change notification settings

MarBie77/jenkins-laravel-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins-laravel-template

Template build configuration files for use with the docker-jenkins-php project

Usage

add build-directory and Jenkinsfile/.deployment_exclude OR build.xml to your GIT-project.

Do NOT forget the .gitignore file in the build-directory, otherwise you'll have all reports in your next commit.

Also do NOT forget to pass XDEBUG_MODE=coverage to the Jenkins installation, otherwise phpunit won't generate code coverage reports

You may also set environment, so CSS/Images from Code coverage report are loaded: JAVA_OPTS=-Dhudson.model.DirectoryBrowserSupport.CSP="sandbox allow-same-origin allow-scripts; default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'"

optional steps

Pipeline project

  1. modify the "Environment" stage for the correct environment file

FreeStyle project

  1. change the name of the project php-template to your real project name
  2. change the .env-filename in the target "env-production" (or just remove target from build lists)

About

Template build configuration files for use with the docker-jenkins-php project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published