Careers   |   Events   |   Contact   |   402.238.1399   |   contactus@deliveron.com

Deliveron
Connect with us on FacebookConnect with us on LinkedInFollow Us on Twitter

Category List


Tag List

adfs (3)
nebraska code camp (2)
DevSecOps (2)
team foundation 2012 (2)
jquery (4)
visual studio 11 beta (2)
necc (2)
coded ui tests (6)
asp.net-mvc-3 (4)
c# (13)
business insight (2)
Automated Testing (10)
powershell 2.0 (8)
swagger (1)
tfs 2010 (2)
AAD (2)
Visual Studio Online (6)
Collaboration (2)
tfs odata (2)
visual studio code (1)
Visual Studio 2017 (4)
microsoft test manager (2)
continuous integration (2)
bundling (2)
team foundation server (6)
sp1 (2)
database publishing wizard (2)
action-filters (2)
windows azure (2)
Data Analytics (1)
outlook (2)
asp.net-mvc-routing (2)
tips (2)
dbpro (2)
visual studio (8)
event-handling (2)
onenote (4)
TestArchitect (5)
Cosmos DB (1)
wiki (1)
TFS 2015 (6)
association (1)
Multi-Factor Authentication (1)
example (2)
top 5 (1)
planning poker (4)
CI (3)
selinium (1)
webparts (2)
deliveron alm delivery guidance (2)
IntelliSense (1)
mvvm (2)
tfs 2013 (2)
visual studio 2010 (18)
feedback (2)
gherkin (2)
visual studio 2012 (10)
team deploy (2)
web performance tests (2)
table-valued-parameters (4)
agile (12)
sql server 2008 (2)
team web access (2)
ssl (1)
react (1)
preview (1)
whitelist (1)
scrum (8)
gulp (2)
installation (2)
site collections (2)
power tools (2)
API Tests (1)
webcast (4)
silverlight (2)
webpack (1)
tokenization (1)
Azure (14)
burndown (2)
sql saturday (2)
opensource (1)
lab environments (1)
tags (2)
deliveron agile delivery process (2)
Big Data (2)
vsts (22)
requirements (2)
rest assured (1)
single page applicaiton (1)
REST (1)
selenium (4)
MVP (2)
bi (2)
webs (2)
serverless (3)
Meetings (1)
Decisions (2)
2013 (2)
angular (1)
xunit (1)
AzureAD (1)
spc14 (4)
exchange (2)
certificates (2)
MFA (1)
storyboarding (2)
pipeline (1)
dependency-injection (2)
ssrs (4)
Java (1)
entity-framework (6)
load tests (2)
Web API (1)
Office 365 (1)
json (2)
azure mobile services (2)
angular 2 (3)
xaml (2)
tfs 2017 (1)
kanban (1)
test cases (2)
team build (2)
vsdbcmd (2)
test agent (2)
load testing (2)
alerts (2)
OAuth2 (1)
sharepoint 2010 (10)
azure resource manager (1)
team foundation server 2012 (4)
bdd (2)
pipelines (1)
licensing (2)
home projects (1)
Functions (2)
Business (2)
code-first (4)
web application firewall (1)
DevOps (14)
windows 8 store app (2)
asp.net-mvc-4 (2)
alm rangers (1)
Build (6)
Quality (2)
tfs (11)
Analytics (2)
nintex (4)
alm (9)
reporting (2)
test automation (1)
lunch and learn (2)
fields (2)
user profiles (4)
automatedui (1)
continuous inegration (2)
microsoft alm rangers (2)
whitesource (1)
wit (2)
Mike Douglas (4)
artifacts (1)
mstestv2 (1)
lab management 2010 (2)
Infrastructure (1)
razor (4)
deployment (2)
work item (2)
faq (2)
team foundation server 11 beta (2)
insiders (1)
nunit (1)
pdf (2)
tls 1.2 (1)
sql server (2)
cascading-dropdown (2)
owasp (3)
AzureAD Admins (1)
Nuget (1)
asp.net-mvc (6)
github (1)
web deploy (1)
MSBuild (1)
ssas (2)
application insights (2)
sharepoint 2007 (2)
test controller (2)
connect() (1)
Node.js (1)
Document (1)
service-fabric (1)
data warehousing (2)
workflow (2)
video (2)
testing (5)
my work (2)
Powershell (1)
Keith Holt (1)
business intelligence (2)
Azure Functions (1)
performancepoint services (2)
Template (1)
subsites (2)
PBI (1)
lync (2)
ninject (2)
security (1)
tfs 2012 (4)
netstandard (2)
zap (1)
M Query (1)
performance (3)
fluentvalidation (2)
microsoft case study (2)
dns (2)
ARM Template (1)
sharepoint 2013 (6)
HOLs (1)
visual studio team services (1)
database projects (4)
sharepoint (5)
web (1)
Power BI (3)
release management (7)
msi (2)
javascript (3)

Archive

Speed up your VSTS Releases by Partially Downloading Artifacts

Apr 09, 2018

The VSTS Sprint 131 brought us a number of great enhancements including one that allows you to select only the artifacts you need for an agent phase of a release deployment.  The artifact integration with VSTS releases provides seamless ability to build once and deploy to all environments.  One limitation has been that that all of the artifacts are downloaded during each agent phase of the release.  If you have multiple agent phases where a phase may not need all of the artifacts, this can help speed up the release.

In my release below, I have 3 phases.  The only thing that the first and last phases do is start and stop the Test Agent VMs for the second phase.  These two phases don't use anything from the artifacts but by default the all the artifacts are downloaded.  These two phases are great candidates for removing the artifact downloads completely.

To modify what is being downloaded from the artifact, select the agent phase and then find the artifact download section as highlighted below.  Here you can select the artifacts that are needed for the agent phase.

agent-phase-artifact-download.jpg

After unselecting the artifact items for the first and last phase, each one looks like this.

artifact-download-no-items-selected.jpg

I could also slimmed down the artifacts that are downloaded for Executing Test Run phase for the release.  The Artifact contains the application deployment packages that are not needed for this.  Currently all of my output assemblies are part of one artifact.  If I modify my CI build to publish the test artifacts and the application assemblies separately, then I can be more granular and choose specific artifacts in the release.

ci-build-multiple-publish-tasks.jpg

Overall, this can help speed up larger releases by a few minutes.  While this doesn't sound like a lot, your teams should continue to improve and manage the overall time of your build and release times to keep this as efficient as possible. Every minute your CI/CD pipeline is running could be someone waiting for the build or release.  If your release contains multiple artifacts or if you could benefit by using more specific artifacts, this is a great time to refactor your build and release to only be publishing what your releases need and to only pull down what each agent phase requires in the release.



Category: DevOps

Mike Douglas

user_avatar

He is a solution consultant focused on helping organization build high quality application effectively utilizing DevOps practices. He is a Microsoft DevOps / ALM Ranger and you can reach him on Twitter at @mikedouglasdev


We believe in helping our customers create software solutions in a better way.
We do this by having a project delivery process and technology expertise that ensures we are solving the right problem in the right way and driving the most business value.