Note that there are some explanatory texts on larger screens.

plurals
  1. POBuilding a pipeline using Microsoft MSBuild publishing targets?
    primarykey
    data
    text
    <p>I am trying to create a <code>Build Pipeline</code>. I am curious whether I am able to leverage the existing Microsoft publishing msbuild targets or whether I need to write my own from scratch.</p> <p>I have a large web <strong>site</strong> project (not web application).</p> <p>The build pipeline is as follows:</p> <ol> <li>Checkin Occurs</li> <li><code>CI</code> triggers build called <code>01 Commit Stage</code></li> <li><code>01 Commit Stage</code> automatically triggers <code>02 Prepare for deployment</code></li> <li><code>02 Prepare for deployment</code> automatically triggers <code>03 UAT</code></li> </ol> <p>Here is what I want to happen at each stage:</p> <ul> <li><strong>01 Commit Stage</strong> <ul> <li>All project files are built</li> <li>Unit Tests are run</li> <li>The website is run through the AspNet_Compiler</li> </ul></li> <li><strong>02 Prepare for deployment</strong> <ul> <li><em>Output from previous build is used</em></li> <li>Output is then run through AspNet_Merge.exe to merge the compiled dlls into a single versioned assembly.</li> <li>Store output artifacts as deployable</li> </ul></li> <li><strong>03 UAT</strong> <ul> <li>The artifacts from the previous step are deployed to QA for testing.</li> </ul></li> </ul> <p>My Question is:</p> <p><code>In the second build, how do I skip the build target and simply point the existing Microsoft publishing pipeline to the existing output? Or would I just be better building my own set of MSBuild targets to do exactly what I need?</code></p> <p>So far, I have had most joy with building my own pipeline, but can't help feel that I am missing out on some MS goodness.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload