HI
I have been trying to automate cicd with jenkins and when i was trying to push packages to Octopus im getting the following error
C:\Jenkins_Examroom\workspace\Examroom-octopus>exit 0
FATAL: Failed to push the packages: java.lang.NullPointerException
java.lang.NullPointerException
at hudson.plugins.octopusdeploy.AbstractOctopusDeployRecorderBuildStep.getOctopusToolPath(AbstractOctopusDeployRecorderBuildStep.java:225)
at hudson.plugins.octopusdeploy.AbstractOctopusDeployRecorderBuildStep.launchOcto(AbstractOctopusDeployRecorderBuildStep.java:283)
at hudson.plugins.octopusdeploy.OctopusDeployPushRecorder.perform(OctopusDeployPushRecorder.java:140)
at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
at hudson.model.Build$BuildExecution.build(Build.java:197)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
at hudson.model.Run.execute(Run.java:1906)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step ‘Octopus Deploy: Push packages’ changed build result to FAILURE
INFO: Not pushing build information due to job being in FAILED state.
INFO: Not creating a release due to job being in FAILED state.
INFO: Not deploying due to job being in FAILED state.
Finished: FAILURE