You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/jenkins/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Add build agents to your existing Jenkins deployment to scale your Jenkins build
28
28
29
29
Once configured with an [Azure service principal](/azure/azure-resource-manager/resource-group-overview), Jenkins jobs and pipelines can use this credential to:
30
30
31
-
- Securely store and archive build artifacts in [Azure Storage](/azure/storage/common/storage-introduction) using the [Azure Storage plug-in](https://plugins.jenkins.io/windows-azure-storage). Review the [Jenkins storage how-to](/azure/storage/common/storage-java-jenkins-continuous-integration-solution) to learn more.
31
+
- Securely store and archive build artifacts in [Azure Storage](/azure/storage/common/storage-introduction) using the [Azure Storage plug-in](https://plugins.jenkins.io/windows-azure-storage). Review the [Jenkins storage how-to](storage-java-jenkins-continuous-integration-solution.md) to learn more.
32
32
- Manage and configure Azure resources with the [Azure CLI](/azure/jenkins/execute-cli-jenkins-pipeline).
Copy file name to clipboardExpand all lines: articles/jenkins/storage-java-jenkins-continuous-integration-solution.md
+8-15Lines changed: 8 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,9 @@
1
1
---
2
2
title: Using Azure Storage with a Jenkins continuous integration solution
3
3
description: This tutorial shows how to use the Azure blob service as a repository for build artifacts created by a Jenkins continuous integration solution.
4
+
keywords: jenkins, azure, devops, storage, cicd
4
5
ms.topic: article
5
-
ms.author: tarcher
6
-
7
-
author: tarcher
8
-
services: devops
9
-
ms.service: storage
10
-
custom: jenkins
11
6
ms.date: 08/13/2019
12
-
ms.subservice: common
13
7
---
14
8
15
9
# Using Azure Storage with a Jenkins continuous integration solution
@@ -19,11 +13,13 @@ This article illustrates how to use Blob storage as a repository of build artifa
19
13
In this tutorial, you will be using the Azure Storage Plugin for Jenkins CI made available by Microsoft.
20
14
21
15
## Jenkins overview
16
+
22
17
Jenkins enables continuous integration of a software project by allowing developers to easily integrate their code changes and have builds produced automatically and frequently, thereby increasing the productivity of the developers. Builds are versioned, and build artifacts can be uploaded to various repositories. This article shows how to use Azure blob storage as the repository of the build artifacts. It will also show how to download dependencies from Azure blob storage.
23
18
24
19
More information about Jenkins can be found at [Meet Jenkins](https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins).
25
20
26
21
## Benefits of using the Blob service
22
+
27
23
Benefits of using the Blob service to host your agile development build artifacts include:
28
24
29
25
* High availability of your build artifacts and/or downloadable dependencies.
@@ -32,6 +28,7 @@ Benefits of using the Blob service to host your agile development build artifact
32
28
* Control over user access policies, with a choice between anonymous access, expiration-based shared access signature access, private access, etc.
33
29
34
30
## Prerequisites
31
+
35
32
* A Jenkins continuous integration solution.
36
33
37
34
If you currently don't have a Jenkins CI solution, you can run a Jenkins CI solution using the following technique:
@@ -45,7 +42,7 @@ Benefits of using the Blob service to host your agile development build artifact
45
42
46
43
While a typical Jenkins CI solution would be set up to run as a service, running the Jenkins war at the command line will be sufficient for this tutorial.
47
44
* An Azure account. You can sign up for an Azure account at <https://www.azure.com>.
48
-
* An Azure storage account. If you don't already have a storage account, you can create one using the steps at [Create a Storage Account](../common/storage-account-create.md).
45
+
* An Azure storage account. If you don't already have a storage account, you can create one using the steps at [Create a Storage Account](../storage/common/storage-account-create.md).
49
46
* Familiarity with the Jenkins CI solution is recommended but not required, as the following content will use a basic example to show you the steps needed when using the Blob service as a repository for Jenkins CI build artifacts.
50
47
51
48
## How to use the Blob service with Jenkins CI
@@ -93,7 +90,7 @@ For instructional purposes, you first need to create a job that will create seve
93
90
**Tip**
94
91
95
92
Below the **Command** section where you entered a script for **Execute Windows batch command** is a link to the environment variables recognized by Jenkins. Select that link to learn the environment variable names and descriptions. Environment variables that contain special characters, such as the **BUILD_URL** environment variable, are not allowed as a container name or common virtual path.
96
-
8. Select **Make new container public by default** for this example. (If you want to use a private container, you'll need to create a shared access signature to allow access, which is beyond the scope of this article. You can learn more about shared access signatures at [Using Shared Access Signatures (SAS)](storage-sas-overview.md).)
93
+
8. Select **Make new container public by default** for this example. (If you want to use a private container, you'll need to create a shared access signature to allow access, which is beyond the scope of this article. You can learn more about shared access signatures at [Using Shared Access Signatures (SAS)](../storage/common/storage-sas-overview.md).)
97
94
9.[Optional] Select **Clean container before uploading** if you want the container to be cleared of contents before build artifacts are uploaded (leave it unchecked if you do not want to clean the contents of the container).
98
95
10. For **List of Artifacts to upload**, enter `text/*.txt`.
99
96
11. For **Common virtual path for uploaded artifacts**, for purposes of this tutorial, enter `${BUILD\_ID}/${BUILD\_NUMBER}`.
@@ -142,10 +139,6 @@ This section provides an overview of the Blob service components.
142
139
If you encounter any bugs with the Jenkins plugins, file an issue in the [Jenkins JIRA](https://issues.jenkins-ci.org/) for the specific component.
0 commit comments