Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

Description: Azure Functions runs operations and deploys to web addresses or web locations. The Azure Functions step is essentially a deploy step. It takes the artifact FROM what was built and pushed to ACR and then deploys it . Once the pipeline has successfully run, you can view what you have deployed within the Console Log (in pipeline Activity Log) to see what has actually been deployed by navigating to the final output link.

Azure Functions Workflow

The Azure Functions workflow includes the following steps:

  1. Build Step (jenkins)

  2. ACR Push

  3. Azure Functions

*More steps can be added following the Azure Function step if needed.

Azure ACR Push Pipeline Step Configuration

  1. Once the initial Step Setup is configured with the Azure ACR Push tool, set the following values:

    • Jenkins Tool - Select a configured Jenkins tool from Tool Registry.

    • Jenkins Job - Select the Azure Docker Push job that was created in the selected Jenkins tool.

    • Build Step - Select the name of the preceding build step.

    • Azure Tool - Select the configured Azure Account Legacy tool from Tool Registry.

    • Resource - Value found in the Azure portal.

    • Azure Registry - Select the container registry to push the images into.

    • Use Existing Repository - Toggle on to view and select an existing repository in the Azure Registry to push the images into. Toggle off to create a new repository where the images will be pushed. Then enter a unique name for the new repository.

    • Repository Name - Select the name of the repository in the container to push to.

  2. Select Save and proceed to setting up the next pipeline steps.

Azure Functions Pipeline Step Configuration

Once the initial Step Setup is configured with the Azure Functions tool, set the following values depending on which Deployment Type is selected:

Docker Deployment Configuration

  • Deployment Type - Select Docker Deployment.

  • Azure Tool - Select a configured Azure tool from the Tool Registry.

  • Azure Credential - Fetched from Applications of the selected Azure Tool.

  • Azure Push Step - Select the corresponding configured Azure Push Step from the drop-down.

Zip Deployment Configuration

  • Deployment Type - Select Zip Deployment.

  • Azure Tool - Select a configured Azure tool from the Tool Registry.

  • Azure Credential - Fetched from Applications of the selected Azure Tool.

    • Use Existing Azure Function?

  • Resource Group -

  • Azure Function -

  • Azure Push Step - Select the corresponding configured Azure Push Step from the drop-down.

Select Save and proceed to setting up the next pipeline steps.

Deployment Verification

Once the pipeline has successfully run, you can view what you have deployed within the Console Log (in pipeline Activity Log) to see what has actually been deployed by selecting the final output link:

  • No labels