[b]Eduard Kabrinskiy - Artifacts in devops  - Kabrinskiy Eduard


<h1>Artifacts in devops</h1>
<p>[youtube]</p>
Artifacts in devops <a href="http://remmont.com">Top stories</a> Artifacts in devops
<h1>Get consumed pipeline artifacts from Azure Devops build via REST API</h1>
<p>For a release pipeline I want to get the <strong>consumed</strong> pipeline artifacts from a build artifact via REST API (or a task).</p>
<p>Background: I have a release pipeline in azure devops that consumes one main artifact, the setup. The setup packs several binaries in a certain version inside. In the release pipeline I want to find the system tests that fit to the binaries that were packed in the setup. These system tests are published as artifact together with the binaries.</p>
<p>I have the following piplines, that are triggered one after another:</p>
<p><ol>
  <li><strong>BinaryPipeline</strong> -> publish artifacts: <em>"binaries"</em>, <em>"system tests"</em></li>
  <li><strong>SetupPipeline</strong> -> consumes artifact <em>"binaries"</em> from BinaryPipeline, publish artifacts: <em>"setup"</em>,</li>
  <li><strong>Release pipeline</strong> -> consumes artifact <em>"setup"</em> from setup pipline, consumes <em>"system tests"</em> from BinaryPipeline</li>
</ol>
</p>
<p>Problem: The release pipeline should consume the artifact "system tests" from the same build (of BinaryPipeline) that was consumed to build the setup.</p>
<p>I tried to solve the problem with the REST API, but</p>
<p>returns only the produced artifacts, not the consumed.</p>
<p>I see the following workarounds, still I don't like them:</p>
<p><ol>
  <li>Publish a text file that contains version information -> Best workaround. I don't like that I have to rely on a special file in artifacts.</li>
  <li>Set build properties (although I didn't find out how to set the properties during build) -> Didn't find out how</li>
  <li>Republish the system tests in my setup build -> Bad pactrice to copy artifacts</li>
  <li>Parse the logs -> Bad because I've to rely on title names of tasks</li>
</ol>
</p>
<p>How can I get the <strong>consumed</strong> pipeline artifacts from a build via REST API in Azure Devops?</p>
<h2>Artifacts in devops</h2>

<h3>Artifacts in devops</h3>
<p>[youtube]</p>
Artifacts in devops <a href="http://remmont.com">News report</a> Artifacts in devops
<h4>Artifacts in devops</h4>
Get consumed pipeline artifacts from Azure Devops build via REST API For a release pipeline I want to get the consumed pipeline artifacts from a build artifact via REST API (or a task).
<h5>Artifacts in devops</h5>
Artifacts in devops <a href="http://remmont.com">Artifacts in devops</a> Artifacts in devops
SOURCE: <h6>Artifacts in devops</h6> <a href="https://dev-ops.engineer/">Artifacts in devops</a> Artifacts in devops
#tags#[replace: -,-Artifacts in devops] Artifacts in devops#tags#[/b] 
[b]Эдуард Кабринский[/b] 
[url=http://remmont.com]online news[/url]