forked from autodesk-forks/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpipeline.yml
More file actions
46 lines (40 loc) · 1.22 KB
/
pipeline.yml
File metadata and controls
46 lines (40 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: 3.1.0
pipeline_os: windows
main_branch: dynamo_py3
jenkins_creds:
-
type: secretText
credentialsId: dynamovisualprogramming_nuget_api_key
secretText: API_KEY
env:
- SLACK_QUANTUM_BUILD_CHANNEL : "#dynamo-jenkinsbuild"
- JENKINS_NODE_WIN: DynamoWinBuild
env_cmd:
- BUILD_DATE: powershell.exe (Get-Date).ToUniversalTime().ToString('yyyyMMddHHmmss')
build:
-
scripts:
- ./scripts/install.cmd
- dotnet build --configuration Release src\runtime\Python.Runtime.csproj
soc2:
harmony:
allow_branches:
- PR-
- dynamo_master
- dynamo_py3
- nuget-publish
third_party_lib_paths:
- pythonnet/runtime/
analyze_results : true
deployment:
-
type: sign
files_to_sign:
- ./pythonnet/runtime/Python.Runtime.dll
-
type: customized
allow_branches: dynamo_py3
scripts:
- dotnet pack --no-build --configuration Release --version-suffix preview-%BUILD_DATE% --output "Release-Preview"
- dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key %API_KEY% "Release-Preview/**/*.nupkg"
- dotnet nuget push --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key %API_KEY% "Release-Preview/**/*.snupkg"