Siva
Siva

Reputation: 73

Karate-Jenkins- ERROR com.intuit.karate - . getting this error only when i run from jenkins

iam running my karate code from Jenkins. where ia, getting below error.

ERROR com.intuit.karate - evaluation of 'karate-config.js' failed: javascript function call failed: ReferenceError: "karate" is not defined .

karate config file keeps on running.

iam using mvn test command to run the job.. even I have tried in Jenkins machine and mvn command works. only in through Jenkins iam getting issue.

Upvotes: 2

Views: 598

Answers (1)

Cotton.Qiu
Cotton.Qiu

Reputation: 21

Try to upgrade java version in Jenkins server.

Upvotes: 1

Related Questions