Jenkins Jobgeneration with DSL for Testexecute
Hi,
I am having issues with generating jobs on Jenkins with the latest plugin updates for the Testcomplete plugin where credentials are a part of the job configuration. When generating the hash value for userPassword changes. And this brings me to the question, if the generated Hash, does have a timeout for validity? Or the generated jobs can "last for ever" with the generated hash value?
I am using Job DSL on Jenkins for generating the test jobs, via groovy code.
configure {
it / builders << 'com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder' {
suite(suiteName)
launchType('lcRoutine')
project(projectName)
unit(unitName)
routine(rName)
test('')
executorType('TE')
executorVersion('14.0')
actionOnWarnings('MAKE_UNSTABLE')
actionOnErrors('MAKE_FAILED')
useTimeout('false')
timeout('')
useTCService('false')
userName()
userPassword('{ASecretPassword}')
credentialsId('')
useActiveSession('true')
generateMHT('true')
publishJUnitReports('true')
}
}