1. Open Project
2. Create Pipeline
i) Click on “Pipelines” in the left navigation menu followed by “Create Pipeline” button.ii) Pipeline
Configuration Wizard will open up. Click on “Use the classic editor”
iii) Select the repository and branch to activate
automated builds and click “Continue”.
iv) Search
for template “Azure Functions for .Net” and click “Apply”.
v) We see following predefined tasks in the
template
·
Build Project – This builds the checked-in azure
function.
·
Achieve Files – This creates a zip file of the azure
function.
·
Publish Artifact – This publish zip file to
specific drop location.
Click on Pipeline and provide name, agent pool and Agent
Specification
vi) To enable continuous integration click “Triggers” tab, check “Enable continuous Integration”, and define the branch filters. This helps to trigger our pipeline automatically when code checked-in to specific branch.
Click on “Save”
3. Verify Build Pipeline
No comments:
Post a Comment