-
Bug
-
Resolution: Won't Fix
-
Blocker
-
None
on 1.3.3, we can use remote api to create pipeline, by posting the following data to createView url:
$jsonvalue = array (
"name" => $jobName,
"mode" => "au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView",
"filterExecutors" => "false",
"filterQueue" => "false",
"selectedJob" => $jobName,
"noOfDisplayedBuilds" => "10",
"buildViewTitle" => $description,
"refreshFrequency" => "3",
"description" => $description,
// does not work
"showPipelineDefinitionHeader" => "true"
);
$parameters = array (
"name" => $jobName,
"mode" => "au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView",
"description" => $description,
"_.showPipelineDefinitionHeader" => "true",
"json" => json_encode ( $jsonvalue )
);
But after 1.3.4, it did not work.
I guess the reason is "gridBuilder" does not be constructed, since "readResolve()" did not work.