This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/mathworks/ci Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ public void verifySourceFolderDefaultState() throws Exception {
303303
304304 @ Test
305305 public void verifySelectByFolderDefaultState () throws Exception {
306- this .buildWrapper .setMatlabRootFolder ( getMatlabroot ("R2017a" ));
306+ this .buildWrapper .setMatlabBuildWrapperContent ( new MatlabBuildWrapperContent ( Message . getValue ( "matlab.custom.location" ), getMatlabroot ("R2017a" ) ));
307307 project .getBuildWrappersList ().add (this .buildWrapper );
308308 project .getBuildersList ().add (this .testBuilder );
309309 HtmlPage page = jenkins .createWebClient ().goTo ("job/test0/configure" );
@@ -321,7 +321,7 @@ public void verifySelectByFolderDefaultState() throws Exception {
321321
322322 @ Test
323323 public void verifySelectByTagDefaultState () throws Exception {
324- this .buildWrapper .setMatlabRootFolder ( getMatlabroot ("R2017a" ));
324+ this .buildWrapper .setMatlabBuildWrapperContent ( new MatlabBuildWrapperContent ( Message . getValue ( "matlab.custom.location" ), getMatlabroot ("R2017a" ) ));
325325 project .getBuildWrappersList ().add (this .buildWrapper );
326326 project .getBuildersList ().add (this .testBuilder );
327327 HtmlPage page = jenkins .createWebClient ().goTo ("job/test0/configure" );
You can’t perform that action at this time.
0 commit comments