Status: Resolved (View Workflow)
Windows jenkins host, Linux slave for builds. Jenkins v1.509.2, svnmerge plugin v2.1, subversion plugin v2.4.
I've just installed the svnmerge plugin to take the pain out of branching and creating matching projects. It looks ideal!
So, I've clicked one of my software build jobs and enabled svnmerge in its config. I've created a branch via the svnmerge options and it's correctly created the branch in svn and the job to build it in Jenkins.
I've since made changes on the trunk and want to rebase the branch (which is as of now still unmodified after branching).
I've clicked the Rebase option on the branch job and chosen Latest Revision.
Unfortunately this fails with the following message.
Rebasing is in progress java.lang.NullPointerException at jenkins.plugins.svnmerge.FeatureBranchProperty.rebase(FeatureBranchProperty.java:159) at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:105) at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:25) at jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$WorkerThread.perform(AbstractSvnmergeTaskAction.java:105) at hudson.model.TaskThread.run(TaskThread.java:127) at jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$TaskImpl$1.run(AbstractSvnmergeTaskAction.java:161) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237)
I don't want to play with the plugin any further until I get the basics working – any ideas?
Ah, excellent – that seems to have fixed the problem!
Should I resolve this issue or would you like it kept open and perhaps linked to the pull request?
Let's keep the issue open until the pull request is merged.
|Field||Original Value||New Value|
|Assignee||Kohsuke Kawaguchi [ kohsuke ]||Hugues Chabot [ hugueschabot ]|
Code changed in jenkins
User: Hugues Chabot
[FIXED JENKINS-23107] Check to ensure that there is a build with a workspace available
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Workflow||JNJira [ 155436 ]||JNJira + In-Review [ 195208 ]|
Can you confirm if the bug persist after the project is build for the first time?
I suspect this happens because the workspace did not exists. There is a pull request regarding this.