From 303f9ed7f40f2a5f903992f80fb2f390e68206fd Mon Sep 17 00:00:00 2001 From: Jorgen Dahl Date: Thu, 16 May 2024 14:55:05 -0400 Subject: [PATCH] Add pipeline plus harmony scan --- IronPythonTests/IronPythonTests.csproj | 2 +- Jenkinsfile | 14 +++++++++++ pipeline.yml | 34 ++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 Jenkinsfile create mode 100644 pipeline.yml diff --git a/IronPythonTests/IronPythonTests.csproj b/IronPythonTests/IronPythonTests.csproj index 3ac659e..9e0bae8 100644 --- a/IronPythonTests/IronPythonTests.csproj +++ b/IronPythonTests/IronPythonTests.csproj @@ -8,7 +8,7 @@ - + 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..62a4cc4 --- /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 DSIronPython.sln" + +ci_test: + tests: + - + scripts: + - "dotnet test --no-build --configuration Release DSIronPython.sln --logger:junit" + test_report_dir: "./IronPythonTests/TestResults" + +soc2: + harmony: + allow_branches: + - master + hidden_email_list: dynamo_ws_access + third_party_lib_paths: + - package_output