Skip to content

stardothosting/jenkins-push-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Push Bash Scripts

Bash scripts to be used for continuous code integration with Jenkins and GitHub.

Laravel

Included in this repository is a Laravel push bash script. Pushing a change to your code repository will trigger jenkins to execute this script.

This script will propagate code changes from your local development environment to your staging or production environments. A full blog post detailing How to set Jenkins up to automatically push your laravel code can be read for further information.

Wordpress

I have included a shell script for Jenkins to trigger when pushing code to your Wordpress development project.

This script will not only propagate code from your staging (test) site, but will also copy the database over. Functions are also triggered to search and replace the staging url with the production url. During the push process, coordinated by this script, a maintenance message is put up for the entire duration of the push. This mitigates any issues with visibility.

You can read a blog post that goes into further details for the Jenkins Wordpress push script for more details as far as how the script works.

Drupal 8

I have included a shell script for pushing a Drupal 8 site via Jenkins. This script likely will need to be modified to suit your environment. The script is designed to accommodate synchronizing to multiple webservers for a production push.

This script relies on git to pull code based on the branch pushed and is similar to how the Laravel push script is structured.

About

We are a Web Design Company in Toronto that specializes in infrastructure management as well as design and development of Wordpress, Drupal, Laravel and Django projects.

About

Jenkins push bash scripts for various platforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages