node.js - Automating coffeescript compilation with Jenkins -
node.js - Automating coffeescript compilation with Jenkins -
i've set jenkins ci server on windows box 1 of projects. there portion of written in coffeescript. part wasn't looped build process. needs be.
i haven't seen coffeescript plugins jenkins, or much google on topic of building coffeescript in jenkins.
i looking simplest way set jenkins build include coffee compilation step. preferably through plugins on jenkins rather manually installing programs on box.
currently coffeescript compiled via commands
coffee --lint --watch --output "c:\repositories\martha\trunk\bb\app\bin\js/" --compile "c:/repositories/martha/trunk/bb/app/src/"
in node.js command prompt on developing boxes
i've noticed jenkins has node.js plugin capable of running scripts in build step. don't believe can utilize commands npm install -g coffee-script
or coffee --compile
through node.js scripts rather command line. though hope wrong.
currently best alternative see install node.js on box, utilize npm install coffee script, , run batch scripts build step. though willing pursue this, less manual installation on box, ease utilize of coffee-script in more projects.
is best option?
worth saying though utilize node.js compile coffee-script, node.js itself, , capabilities, new me.
one possible solution run compiler script provided in extras/coffee-script.js
. have utilize jdk 7 or latest rhino (jdk 6 not work). here link simple coffeescript compiler in java
node.js jenkins coffeescript continuous-integration
Comments
Post a Comment