-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Linux x86,
Jenkins 2.46.2
Jenkins 2.73.3
plugin Parameterized Remote Trigger Plugin 2.2.2
WHEN IT WORKS:
When triggering from Jenkins v2.46.2 a job located on remote Jenkins v1.651.3 the operation is carried out successfully. Remote job is triggered and runs to completion without any errors.
WHEN IT DOESN'T WORK:
When triggering from Jenkins v2.46.2 a job located on remote Jenkins v2.73.3, the remote job is triggered but local job ( the one that triggered the remote job ) fails with this error:
Building remotely on AgentVM (deployment) in workspace C:\jenkins\workspace\testlaunch
Triggering this remote job: Remote_Job_Name
Not checking if the remote job Remote_Job_Name is building.
Using job-level defined credentails in place of those from remote Jenkins config [Remote_Jenkins_VM_Name]
Triggering remote job now.
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Checking parameters of #4
ERROR: Build step failed with exception
java.lang.NullPointerException
{{ at java.io.Reader.<init>(Reader.java:78)}}
{{ at java.io.InputStreamReader.<init>(InputStreamReader.java:72)}}
{{ at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.sendHTTPCall(RemoteBuildConfiguration.java:980)}}
{{ at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.sendHTTPCall(RemoteBuildConfiguration.java:799)}}
{{ at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:556)}}
{{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)}}
{{ at hudson.model.Build$BuildExecution.build(Build.java:206)}}
{{ at hudson.model.Build$BuildExecution.doRun(Build.java:163)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)}}
{{ at hudson.model.Run.execute(Run.java:1728)}}
{{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}}
{{ at hudson.model.ResourceController.execute(ResourceController.java:98)}}
{{ at hudson.model.Executor.run(Executor.java:405)}}
Build step 'Trigger a remote parameterized job' marked build as failure
Finished: FAILURE
- is related to
-
JENKINS-32462 Checking Status of remote job fail
- Closed