I have both casperjs and phantomjs in local folders inside my project and still can't run casperjs to test my spring-boot webapp using phantomcss
I am currently using this in a Jenkinsfile:
stage('Test') {
withEnv(['PATH+PHANTOMJS=phantomcss/node_modules/phantomjs/bin/']) {
sh "phantomcss/node_modules/casperjs/bin/casperjs test phantomcss/test/testsuite.js"
}
}
Stage test gives me the error 127: phantomcss/node_modules/casperjs/bin/casperjs.exe: not found
I have both casperjs and phantomjs in local folders inside my project and still can't run casperjs to test my spring-boot webapp using phantomcss
I am currently using this in a Jenkinsfile:
stage('Test') {
withEnv(['PATH+PHANTOMJS=phantomcss/node_modules/phantomjs/bin/']) {
sh "phantomcss/node_modules/casperjs/bin/casperjs test phantomcss/test/testsuite.js"
}
}
Stage test gives me the error 127: phantomcss/node_modules/casperjs/bin/casperjs.exe: not found
Any help is much appreciated. Thanks.