node.js - csslint command not executing in Jenkins -


i trying execute following command jenkins window batch command

csslint --format=lint-xml file.css > result.xml  

but every time fail , give error: "csslint not recognized internal or external command, operable program or batch file."

i have set nodejs path correctly , above command executing command prompt successfully.

can me on this?

first did install csslint global?

npm install csslint -g

second, assume csslint not on path.

in batch program add line above app , see environment looks like.

env csslint --format=lint-xml file.css > result.xml  

that print out environment variables given jenkins run can take @ path variable , see if csslint in of folders.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -