katalon-studio-samples / ci-samples

Sample configurations for various CI systems.
Apache License 2.0
54 stars 169 forks source link

Activation failed. Please make sure you are using a valid license. #31

Open thywoe opened 4 years ago

thywoe commented 4 years ago

I am getting this error and I don't know how to go about it. I am running Katalon docker image in Jenkins pipeline

Jenkins Pipeline Sample

pipeline { agent { docker { image 'katalonstudio/katalon' args "-u root" } } stages { stage('Test') { steps { sh 'katalonc.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest"' } } } post { always { archiveArtifacts artifacts: 'report//.', fingerprint: true junit 'report//JUnit_Report.xml' } } }

Error message

duyluonganh commented 4 years ago

@thywoe

You should add apiKey parameter at this line:

sh 'katalonc.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest" -apiKey="Put your API key here"'