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

Not allow to build matrix configuration alone #9

Merged
merged 1 commit into from
Sep 9, 2013

Conversation

lvotypko
Copy link
Member

Rebuilding of matrix configuration can cause problems.
Matrix project can be build if configuration is in queue (and concurrent builds is not allowed). If it happens it causes that matrix build fails with stack trace (item in queue miss ParentBuildAction):

java.lang.NullPointerException
at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:356)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1502)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:289)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)

I think that it is better not to allow rebuild matrix configuration (in Jenkins core is not able to built matrix configuration alone -without matrix build)

@buildhive
Copy link

Jenkins » rebuild-plugin #41 SUCCESS
This pull request looks good
(what's this?)

shemeersulaiman added a commit that referenced this pull request Sep 9, 2013
Not allow to build matrix configuration alone
@shemeersulaiman shemeersulaiman merged commit 5270452 into jenkinsci:master Sep 9, 2013
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

Successfully merging this pull request may close these issues.

3 participants