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/DynaShape/pipeline.yml b/pipeline.yml similarity index 71% rename from DynaShape/pipeline.yml rename to pipeline.yml index da7ecd5..d2262ce 100644 --- a/DynaShape/pipeline.yml +++ b/pipeline.yml @@ -15,23 +15,12 @@ schedule: build: - scripts: - - "dotnet build --configuration Release DynaShape\DynaShape.sln" - -ci_test: - tests: - - scripts: - - dotnet coverage collect "dotnet test --no-build --configuration Release DynaShape\DynaShape.sln --filter \"TestCategory!=Failure\" --logger:junit --logger:trx" -f xml -o "coverage.xml" - test_report_dir: "DynaShapeTests/TestResults" - test_report_pattern: - format: "junit" - pattern: "*.xml" + - "msbuild /p:Configuration=Release DynaShape\\DynaShape.sln" code_analysis: sonarqube: useDotnetSonarScanner: true scanOnAnyBranch: true - coverage_reports: - - coverage.xml soc2: harmony: