From 47287e366ce38f796a57df7cacdb50e563c708e8 Mon Sep 17 00:00:00 2001 From: Alexis Erazo Date: Fri, 17 May 2024 14:15:16 -0500 Subject: [PATCH] DYN-6742: Add Jenkins Pipelines. --- IronPython3Tests/IronPython3Tests.csproj | 6 ++++- Jenkinsfile | 14 ++++++++++ pipeline.yml | 34 ++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 Jenkinsfile create mode 100644 pipeline.yml diff --git a/IronPython3Tests/IronPython3Tests.csproj b/IronPython3Tests/IronPython3Tests.csproj index 7e33ae0..efa34db 100644 --- a/IronPython3Tests/IronPython3Tests.csproj +++ b/IronPython3Tests/IronPython3Tests.csproj @@ -12,6 +12,7 @@ + @@ -24,5 +25,8 @@ Always - + + + + diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..0634363 --- /dev/null +++ b/Jenkinsfile @@ -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 "*******************************************************************" diff --git a/pipeline.yml b/pipeline.yml new file mode 100644 index 0000000..953db25 --- /dev/null +++ b/pipeline.yml @@ -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 : "dynamo.dev@autodesk.com" + +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