-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins v1.480, Windows 7 SP1, Accurev 4.7.3
We are evaluating Jenkins as a replacement to our current CI solution (Cruise Control .Net). We use Accurev as our source control solution and will be using it going forward.
Our Accurev process resembles the following architecture:
Integration Stream --> Test Stream --> Gold Release Stream
- We build using workspaces attached to the Integration and Test steams.
- We use the "Poll SM" build trigger.
The problem is whenever a change is promoted into the Test Steam (Upstream) this causes a change to be detected in the Integration stream (Downstream).
In Cruse Control .Net we are able to specifically state which files are to be ignored when polling for changes. This functionality does not yet exist, however the "Ignore parent changes" option does exist. When we try and employ the use of this option the following exception is produced in the log:
Setting ACCUREV_HOME to "C:\accurev_ws"
[job] $ "C:\Program Files\AccuRev\bin\accurev.exe" info -H accurev47:5050
Currently authenticated with Accurev server as 'login', not logging in again.
Getting a list of streams...
[job] $ "C:\Program Files\AccuRev\bin\accurev.exe" show -H accurev47:5050 -fx -p main -s int_stream streams
Getting a list of workspaces...
[job] $ "C:\Program Files\AccuRev\bin\accurev.exe" show -H accurev47:5050 -fx -p main wspaces
FATAL: null
java.lang.NullPointerException
at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:421)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1502)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)