Skip to content

Commit

Permalink
DYN-6742: Add Jenkins Pipelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Erazo committed May 17, 2024
1 parent 350ebbc commit 47287e3
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
6 changes: 5 additions & 1 deletion IronPython3Tests/IronPython3Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<ItemGroup>
<PackageReference Include="DynamoVisualProgramming.Tests" Version="3.1.0-beta3874" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="JunitXml.TestLogger" Version="3.0.124" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
</ItemGroup>

Expand All @@ -24,5 +25,8 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="DownloadDynamoAndUnzip" BeforeTargets="Build">
<DownloadFile SourceUrl="https://dyn-builds-data.s3-us-west-2.amazonaws.com/DynamoCoreRuntime_3.1.0.3952_20240131T0007.zip" DestinationFolder="$(MSBuildProjectDirectory)" />
<Unzip SourceFiles="DynamoCoreRuntime_3.1.0.3952_20240131T0007.zip" DestinationFolder="$(OutputPath)\DynamoRuntime" OverwriteReadOnlyFiles="true" />
</Target>
</Project>
14 changes: 14 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env groovy

@Library('PSL@master')
@Library('CILibrary@CBP/stable') _

StartPipeline()

@NonCPS
def printParams() {
env.getEnvironment().each { name, value -> println "$name : $value" }
}
println "*******************************************************************"
printParams()
println "*******************************************************************"
34 changes: 34 additions & 0 deletions pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 0.1.1
env:
- JENKINS_NODE_WIN: "DynamoWinBuild"
- SLACK_QUANTUM_BUILD_CHANNEL : "#dynamo-jenkinsbuild"
- SLACK_QUANTUM_BUILD_CREDENTIAL_ID : "slack-notify-token"
- MAIL_QUANTUM_BUILD_RECIPIENT : "[email protected]"

check_changelog_updated_on_pr: false
pipeline_os: "Windows"
force_slack_notification : true
language: csharp

schedule :
cron_schedule : once_a_week

build:
-
scripts:
- "dotnet build --configuration Release IronPython3Extension.sln"

ci_test:
tests:
-
scripts:
- "dotnet test --no-build --configuration Release IronPython3Extension.sln --logger:junit"
test_report_dir: "./IronPython3Tests/TestResults"

soc2:
harmony:
allow_branches:
- master
hidden_email_list: dynamo_ws_access
third_party_lib_paths:
- package_output

0 comments on commit 47287e3

Please sign in to comment.