/bundles/itninjaweb/img/Breadcrumb_cap_w.png
In our current product, we have multiple solution files of visual studio and multiple projects in them.
All of them are interlinked and interdependent.
So, the 1st project is dependent on files created by 3rd and 3rd on 4th and 4th on 1st , etc.
So, if we compile 1st project it will fail as the 3rd is not generated the binary files yet, and we continue to compile the 2nd and it also fails and then 3rd, the 3rd will be successful as the 1st and 2nd are partially compiled and the relevant files are available.So once all the projects are compiled, I will retry the failed projects and they will be successful.

So to automate all this part, I have written scripts in python and in that I am doing the retry 5 times and failing the build process if the 5 times limit is completed.

The complete build process I have written my own logic in python.

The requirement now is, We want to switch from this custom written code to existing automation tools like Jenkins, so that it will be well structured.But I didn't see the project compilation retry option in MSBuild.

Can anyone please suggest.
2 Comments   [ - ] Hide Comments

Comments

  • To be more specific , the current product solution files is not having any issue with order but it's like circle...like both 1 and 2 project files are dependent on each other..so 1 is failing without 2 and 2 is successful as 1 is partially built..so I will retry 1 again after 2.. to make it success...but if I try 2 first then it will fail as files from 1 not available.. it is not feasible to change the code as complete structure changes.
  • I posted the same question in FB. But got some weird replies to change the complete Architecture. If we have the solution in languages like python to create our custom build scripts.

    I think there will be solution for this in the existing tools also.I don't think what is the necessity of changing the product architecture to integrate it with jenkins.

    To remove the same chain of communocation here.I am giving the summary of conversation happened in FB for this question.
Please log in to comment

There are no answers at this time
Answer this question or Comment on this question for clarity

Answers