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
Azure Artifact Manager plugin is an Artifact Manager that allows you store your artifacts into Azure Blob Storage. Azure Artifact Manager plugin works transparently to Jenkins and your jobs, it is like the default Artifact Manager.
5
+
Azure Artifact Manager plugin is an Artifact Manager that allows you store your artifacts into Azure Blob Storage.
6
+
Azure Artifact Manager plugin works transparently to Jenkins and your jobs, it is like the default Artifact Manager.
63
7
64
8
## Configuration
65
9
66
-
1. At least one Azure storage account must be configured in the global configuration before the plugin can be used in build steps. To add a storage account, go to Manage Jenkins | Configure System | Microsoft Azure Storage Account Configuration and fill out the needed information.
10
+
1. At least one Azure storage account must be configured in the global configuration before the plugin can be used in build steps.
11
+
To add a storage account, go to Manage Jenkins | Configure System | Microsoft Azure Storage Account Configuration and fill out the needed information.
67
12
68
-
2. In Manage Jenkins | Configure System | Artifact Management forBuilds, choose Azure Storage as the cloud provider. Choose the storage Credentials createdin step one, and choose your container name and prefix.
13
+
2. In Manage Jenkins | Configure System | Artifact Management for Builds, choose Azure Storage as the cloud provider.
14
+
Choose the storage Credentials created in step one, and choose your container name and prefix.
69
15
70
16

71
17
@@ -78,7 +24,7 @@ To use Azure Artifact Manager, you can use the artifact step to archive/unarchiv
78
24
Azure Artifact Manager plugin can be used in a pipeline job. You can use `archiveArtifacts` step to archive artifacts into Azure Blob Storage.
79
25
80
26
```
81
-
node() {
27
+
node {
82
28
//...
83
29
stage('Archive') {
84
30
archiveArtifacts "pattern"
@@ -89,18 +35,19 @@ node() {
89
35
To unarchive artifacts, you can use the `unarchive` step which will retrieve the artifacts from Azure Blob Storage.
90
36
91
37
```
92
-
node() {
38
+
node {
93
39
//...
94
40
stage('Unarchive') {
95
41
unarchive mapping: ["pattern": '.']
96
42
}
97
43
}
98
44
```
99
45
100
-
To save a set of files so that you can use them later in the same build(generally on another node or workspace), you can use `stash` step to store files into Azure Blob Storage for later use.
46
+
To save a set of files so that you can use them later in the same build (generally on another node or workspace),
47
+
you can use `stash` step to store files into Azure Blob Storage for later use.
101
48
102
49
```
103
-
node() {
50
+
node {
104
51
//...
105
52
stash name: 'name', includes: '*'
106
53
}
@@ -117,20 +64,11 @@ node() {
117
64
118
65
### FreeStyle Job
119
66
120
-
For FreeStyle jobs, you can archive artifacts by adding a `Post-build Actions` of type`Archive the artifacts`, and this will use the Azure Artifact Manager plugin to store the artifacts into Azure Blob Storage.
67
+
For FreeStyle jobs, you can archive artifacts by adding a `Post-build Actions` of type `Archive the artifacts`,
68
+
and this will use the Azure Artifact Manager plugin to store the artifacts into Azure Blob Storage.
0 commit comments