esbenbach / azurepipelinetasks Goto Github PK
View Code? Open in Web Editor NEWVarious Azure DevOps Pipeline tasks
License: MIT License
Various Azure DevOps Pipeline tasks
License: MIT License
In the file DownloadArtifacts/DownloadArtifacts.ps1 there is are two "foreach" loops.
The body of the inner foreach loop that handles $buildArtifacts should be refactored into a function with the $artifact as an input parameter.
DownloadArtifacts/DownloadArtifacts.ps1
- Identify the inner foreach loop that handles the $buildArtifacts variable. This loop starts at line 45 and ends at line 76.
• Create a new function at the top of the script, before the try block. Name this function "ProcessArtifact". This function should take one parameter, $artifact.
• Copy the body of the inner foreach loop (lines 47 to 75) into the body of the new function. Replace all instances of $artifact in the copied code with the parameter of the new function.
• Replace the body of the inner foreach loop with a call to the new function, passing in $artifact as the argument.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.