-
Notifications
You must be signed in to change notification settings - Fork 6
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
Broken runProcedure.groovy ? #17
Comments
Sorry, I'm not getting this error, so I'm unable to reproduce the issue. I'm using CloudBees 10.0.0. |
Did you get any data in the file /tmp/dsl.log? Examine the job in the UI. Did it run? The job step should have fails (exit 1). |
In
It completes with success but it is the subsequent code that failed: // Now let's grab the jobId launched to run the procedure
def id=resp.jobId
// Let's wait for it to finish
logFile << "jobId:" + id.toString() + "\n"
def String status=''
while(status != "completed") {
// We need the polling in a different transaction started after
// the runProcedure one.
transaction{
status=getProperty(propertyName: 'status', jobId: id).value;
logFile << "status:" + status + "\n"
}
sleep (1000)
}
def String outcome=getProperty(propertyName: 'outcome', jobId: id).value;
logFile << "outcome:" + outcome + "\n" At I am using Flow 9.2.0.139827 |
Hello,
When trying to execute :
https://github.com/electric-cloud-community/DSL-Samples/blob/master/runProcedure.groovy
With :
ectool evalDsl --dslFile runProcedure.groovy
I have this error :
Hibernate / Transaction issue ?
The text was updated successfully, but these errors were encountered: