Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Does a continuous build pipeline need to generate packages?

(0) ShareShare
ReportReport
Posted on by 271

The documentation for a continuous integration pipeline has the Generate packages step before the Execute Tests step.  I'm curious on two fronts:

  1. Would you ever want to use a package if the tests fail?  If not (which is my instinct), why not have Generate packages dependent on Execute Tests and save time & storage?
  2. Assuming that a continuous integration pipeline has a complementary nightly build, when would you use the CI pipeline package? I'm thinking the nightly pipeline package would be the one to deploy.
  • Rich Profile Picture
    Rich 271 on at
    RE: Does a continuous build pipeline need to generate packages?

    Thanks for thoughts: I can see the validity of that opinion, as long as the team are on top of the test results & don't consider package generation to mean the build represents a release candidate.

    Anyone have a view on question 2? If there are two pipelines, one run on check-in & one run nightly, are there benefits to having both generate packages? Potentially a higher update cadence if the CI package is manually deployed to a QA environment, but the QA downtime during deployment doesn't feel worth it to me.

  • Martin Dráb Profile Picture
    Martin Dráb 230,414 Most Valuable Professional on at
    RE: Does a continuous build pipeline need to generate packages?

    If you use nightly builds to deploy the latest code to a test environment every night, I think it makes sense to do it even if some tests fail. Otherwise you would prevent testing of all new code.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,684 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans