anchor.diff:      21:31:32.052 [go] Current job status: passed.
   
   <figure>
  -  <img src="/assets/images/blog/dotnet-core-gocd/agent-pkg.png" alt="Agent Pkg" />
  +  <img src="/assets/images/blog/dotnet-core-gocd/agent-pkg.png" alt="GoCD Agent Pkg" />
   </figure>
   
   ### Review
  
positive.code: 
  Initial setup of the "HwPackagePipeline" pipeline which will contain the stage/job/tasks to do the build, test, and package.
  <figure>
    <img src="/assets/images/blog/dotnet-core-gocd/pipeline.png" alt="Pipeline" />
  </figure>
  
  
  The second page is how you setup the material in GoCD. Here I've added my git repo endpoint and tested the connection.
  <figure>
    <img src="/assets/images/blog/dotnet-core-gocd/pipeline-material.png" alt="Pipeline Material" />
  </figure>
  
  The third page sets up the stage/job. I've used the custom build.cmd I created in the setup.
  <figure>
    <img src="/assets/images/blog/dotnet-core-gocd/pipeline-stage-job.png" alt="Pipeline Stage Job" />
  </figure>
  
  After adding the build task, I un-paused the pipeline to make sure everything is wired up. GoCD will show the status go to orange and then green after the pipeline has finished.
  <figure>
    <img src="/assets/images/blog/dotnet-core-gocd/pipeline-passed-build.png" alt="Pipeline Passed Build" />
  </figure>
  
  Now I can go setup the unit test and package tasks in this pipeline. I did this by going to the admin navigation and clicking on pipelines. Then clicked on the edit of the pipeline I created above. Then clicked on the defaultstage and defaultjob. Then I added in the unit test task which just calls test.cmd. The package task is a little different because I want to pass in the build number as a variable to the package.cmd.
  <figure>
    <img src="/assets/images/blog/dotnet-core-gocd/package_cmd_label.png" alt="Pipeline Label" />
  </figure>
  
  Here is a view of all the tasks I setup in the default job.
  <figure>
    <img src="/assets/images/blog/dotnet-core-gocd/tasks.png" alt="Tasks" />
  </figure>
  
  From the pipeline view if you click on the green bar you can view the job console ouput. I confirmed the label was updated correctly during the package task.
  
negative.code: author: Jason Rowe
  excerpt: "GoCD is a great way to learn the concepts and abstractions to help model your delivery pipeline and work towards improving it. This post documents setting up a .NET core project in GoCD in a minimal way for demo purposes."
  title_tag_of_header: ".NET Core and GoCD | GoCD Blog"
  meta_description: "Set up a .NET core project in GoCD in a minimal way with this Hello World demo."
  meta_keywords: "gocd, .net core, .net, continuous delivery, delivery pipeline, deployment pipeline"
  summary_image: "/assets/images/blog/dotnet-core-gocd/dotnet_core_masthead.png"
  ---
  <% content_for :banner do %>
  