Jump to content

Jenkins with PlasticSCM plugin - changelog for build


Misieq

Recommended Posts

Hi

 

I am trying to set-up Jenkins server to work with PlasticSCM repository.

 

I noticed that polling correctly detects changes in branch but "Change log" for each build remains empty.

Is there any way to have Changesets numbers and "CheckinIs" comments listed here?

Link to comment
Share on other sites

Hi

 

This version does not work at all.

Following exception is raised in project build log:

FATAL: null
java.lang.NullPointerException
	at com.codicesoftware.plugins.hudson.PlasticSCM.checkout(PlasticSCM.java:87)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1265)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
	at hudson.model.Run.execute(Run.java:1759)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)

And second one in Jenkins console:

java.lang.NullPointerException
        at com.codicesoftware.plugins.hudson.PlasticSCM.compareRemoteRevisionWith(PlasticSCM.java:136)
        at hudson.scm.SCM.poll(SCM.java:397)
        at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1462)
        at hudson.model.AbstractProject._poll(AbstractProject.java:1433)
        at hudson.model.AbstractProject.poll(AbstractProject.java:1344)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)
        at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Edit:

I have reverted back to official version. And it looks that Change logs started to appear.

I supose that I have installed something wrong because the only difference is that I have added "preSCM task" with following command:

"cm unco --al."

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...