Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Jenkins for Gulp based project

I have a project which uses gulp as a local builder. I want to use Jenkins for versioning my project. How can i setup jenkins for gulp based projects?

like image 995
Amit Mourya Avatar asked Mar 23 '15 08:03

Amit Mourya


1 Answers

You will find here a guide on how to setup your Jenkins machine to handle javascscript builds, specifically: how to get to the point of installing your npm packages and running a task runner (gulp/grunt). http://g00glen00b.be/continuous-integration-javascript/

It details how to install bower and grunt, but changing one of the commands to install gulp instead of grunt-cli should be all that you need to change:

instead of :

npm install -g bower grunt-cli

you would run:

npm install -g gulp

Also, feel free to skip the parts about SonarQube.

like image 132
w3bMaster Avatar answered Oct 12 '22 09:10

w3bMaster