Ignorar navegação

Announcing deploy to Azure app service Jenkins plugin and more

Postado em 8 agosto, 2017

Senior Program Manager, DevOps

We are proud to announce the availability of the Azure App Service plugin for Jenkins, which provides Jenkins native capability to continuously deploy to Azure Web Apps. Depending on your environment, you can choose to use Team Service together with Jenkins, or leverage this plugin to deliver your cloud apps or services.

Azure Web App lets developers rapidly build, deploy, and manage powerful websites and web apps using .NET, Node.js, PHP, Python, and Java. It provides built-in autoscale, load balancing, high availability and auto-patching – letting you focus on your application code. Web App on Linux is now in Public Preview, giving you an additional option to run your cloud apps natively on Docker Containers for Linux.

This release of the Azure App Service plugin for Jenkins supports deploying to Azure Web App through:

  • Git and FTP for Web App and Web App on Linux
  • Docker for Web App on Linux

The plugin is pipeline-ready so you can use it in a Jenkinsfile. You can find a walkthrough of deploying a Java app to Web App on Linux on Jenkins Hub.

Additional support, such as deploying to Azure Functions, is on the roadmap. Stay tuned for more updates in the coming months.

Azure Storage plugin update

Speaking of pipeline support, from version 0.3.6 onwards, you can leverage the Azure Storage plugin in pipeline code to upload and download build artifacts. Here are the sample syntax for upload and download respectively:

azureUpload storageCredentialId: '<credentials id>', storageType: 'blobstorage', 
containerName: '<container>', filesPath: '<files in glob pattern>', virtualPath: '<remote path>'
azureDownload storageCredentialId: '<credentials id>', downloadType: 'container', 
containerName: '<container>', includeFilesPattern: '<files in glob pattern>', downloadDirLoc: '<local path>'

You can refer to this article about Using Azure Storage with a Jenkins plugin on Jenkins Hub for more information.

As always, we would love to get your feedback via comments below. You can also email Azure Jenkins Support to let us know what you think.