-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.7.4, any version version of accurev
Issue is related to unix: Set hostname FQDN
Can be resolved with setting hostname FQDN
The exception does not reveal the actual issue but looking into the workspace part I was able to determine that Accurev does not approve of workspaces being assigned to IP addresses.
[workspacepolltest] $ /Applications/AccuRev/bin/accurev update -H snip:5050 -fx FATAL: <?xml version="1.0" encoding="utf-8"?> <acResponse command="update" TaskId="1737"/> You are not in a directory associated with a workspace FATAL: Failed authentication. (failed with exit code 1 ) FATAL: null java.lang.NullPointerException at hudson.plugins.accurev.cmd.Update.performUpdate(Update.java:111) at hudson.plugins.accurev.delegates.ReftreeDelegate.doUpdate(ReftreeDelegate.java:148) at hudson.plugins.accurev.delegates.ReftreeDelegate.checkout(ReftreeDelegate.java:142) at hudson.plugins.accurev.delegates.AbstractModeDelegate.checkout(AbstractModeDelegate.java:191) at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:338) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Finished: FAILURE
Code changed in jenkins
User: Joseph
Path:
.gitignore
src/main/java/hudson/plugins/accurev/AccurevLauncher.java
src/main/java/hudson/plugins/accurev/AccurevSCM.java
src/main/java/hudson/plugins/accurev/DetermineRemoteHostname.java
src/main/java/hudson/plugins/accurev/cmd/ChangeLogCmd.java
src/main/java/hudson/plugins/accurev/cmd/PopulateCmd.java
src/main/java/hudson/plugins/accurev/cmd/Update.java
src/main/java/hudson/plugins/accurev/delegates/AbstractModeDelegate.java
src/main/java/hudson/plugins/accurev/parsers/xml/ParseHistory.java
src/main/resources/hudson/plugins/accurev/AccurevSCM/global.jelly
src/main/webapp/help/use-color.html
http://jenkins-ci.org/commit/accurev-plugin/54cb79967006982752154c27f49e435154d85e9b
Log:
NullPointer fixes. better hostname handling. Toggle streamColor. (#27)
JENKINS-38148Handle some null pointers.Cannot prevent bad DNS/Hostname config.
JENKINS-38201Partial fixcannot prevent bad DNS/Hostname.
JENKINS-38201Better error message