mathworks / jenkins-matlab-plugin

This plugin enables you to run MATLAB® and Simulink® as part of your Jenkins™ build.
45 stars 54 forks source link

Bul run action may not get added for the very first run #341

Closed nbhoski closed 2 months ago

nbhoski commented 3 months ago

the following will not add the build result window for the very first build run

https://github.com/mathworks/jenkins-matlab-plugin/blob/7b7726060c1d629e5dbe84eee72b3df3810547aa/src/main/java/com/mathworks/ci/actions/RunMatlabBuildAction.java#L106

sameagen-MW commented 2 months ago

Could you provide some more info here Nikhil? Is it related to changes on the dev branch, is it sporadic, what are you doing to produce the issue, etc...

That's the only interface that the BuildArtifactAction class exposes, and the line that you highlighted is identical to previous versions of the plugin.

The difference would have to revolve around the handling of the buildArtifact.json file.

sameagen-MW commented 2 months ago

Could you also check whether the issue is resolved in the branch for the linked pull request?

Vahila commented 2 months ago

I tried the following:

nbhoski commented 2 months ago

Thanks Vahila will close this

nbhoski commented 2 months ago

Fixed