Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thywoe opened this issue Jun 3, 2020 · 1 comment
Open

Comments

@thywoe
Copy link

thywoe commented Jun 3, 2020

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

  • Activating...
    Start activating offline...
    Search for valid offline licenses in folder: /root/.katalon/license
    The number of valid offline licenses: 0
    Offline activation failed.
    Start activating online...
    Online activation for console mode failed.
    Activation failed. Please make sure you are using a valid license.
    All launchers terminated
    ret_code=3
    exit 3
@duyluonganh
Copy link
Contributor

@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"'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants