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/azure-functions/functions-how-to-azure-devops.md
+41-10Lines changed: 41 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ To create a YAML-based pipeline, first build your app, and then deploy the app.
25
25
26
26
How you build your app in Azure Pipelines depends on your app's programming language. Each language has specific build steps that create a deployment artifact. A deployment artifact is used to deploy your function app in Azure.
27
27
28
-
#### .NET
28
+
#[C\#](#tab/csharp)
29
29
30
30
You can use the following sample to create a YAML file to build a .NET app:
31
31
@@ -56,7 +56,7 @@ steps:
56
56
artifactName: 'drop'
57
57
```
58
58
59
-
#### JavaScript
59
+
# [JavaScript](#tab/javascript)
60
60
61
61
You can use the following sample to create a YAML file to build a JavaScript app:
62
62
@@ -84,13 +84,44 @@ steps:
84
84
artifactName: 'drop'
85
85
```
86
86
87
-
#### Python
87
+
# [Python](#tab/python)
88
88
89
-
You can use the following sample to create a YAML file to build a Python app. Python is supported only for Linux Azure Functions. The YAML for Python 3.7 can be built by replacing all the instances of 3.6 with 3.7 in this YAML.
89
+
You can use one of the following samples to create a YAML file to build an app for a specific Python version. Python is supported only for function apps running on Linux.
90
+
91
+
**Version 3.7**
92
+
93
+
```yaml
94
+
pool:
95
+
vmImage: ubuntu-16.04
96
+
steps:
97
+
- task: UsePythonVersion@0
98
+
displayName: "Setting python version to 3.7 as required by functions"
0 commit comments