Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: build-flow
Created: 14/Dec/12 4:45 PM
Description:

On Jenkins 1.493 and Build Flow Plugin 0.6...

After a build flow has successfully completed, the dependency graph is empty, a la: http://cl.ly/image/1e2l1F3g3I2c

In rendering the page /job/project/42, I see the following exception in jenkins.log:

WARNING: Caught exception evaluating: not empty g.outgoingEdgesOf. Reason: java.lang.IllegalArgumentException: no such vertex in graph
java.lang.IllegalArgumentException: no such vertex in graph

Running the following script from the Groovy console, it seems that the graph only contains the master build flow job as a vertex:

n = jenkins.model.Jenkins.instance.getJob("project").getBuildByNumber(42)
g = n.builds
println g.vertexSet()

=> [running job :project]

Our build flow definition is:

build("project-init")

parallel (
{build("project-task", tasks: "gravity:test:jasmine:ci spec:suite:initializers:ci spec:suite:models:ci")},
{build("project-task", tasks: "spec:suite:api1:ci")},
{build("project-task", tasks: "spec:suite:api2:ci")},
{build("project-task", tasks: "spec:suite:acceptance1:ci")},
{build("project-task", tasks: "spec:suite:acceptance2:ci")},
{build("project-task", tasks: "spec:suite:controllers:ci spec:suite:requests:ci spec:suite:mailers:ci spec:suite:views:ci")},
)
build("project-succeeded")

I'm happy to help in contributing a fix for this, but I could use some hints about where the bug might lie. Thanks in advance! Great plugin - we love it.

Fix Versions: current
Project: Jenkins
Priority: Major Major
Reporter: Frank Macreery
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to