Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pipeline yaml #64

Merged
merged 3 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env groovy

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

//env.RELEASE_BRANCHES = "master"

StartPipeline()
38 changes: 38 additions & 0 deletions pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 1.4.0
pipeline_os: windows
#update_changelog_on_release: true
create_github_release: true
create_pr_release_to_master: true

env:
- GITHUB_ACCESS_TOKEN_ID: github_access_token_acsbuildguy
- JENKINS_NODE_WIN: DynamoWinBuild

code_analysis:
sonarqube:
source_encoding: UTF-8
src: .
coverage_reports:
- coverage.info

build:
-
scripts:
- dotnet msbuild TuneUp.sln -p:Configuration=Release -restore

deployment:
-
type: sign
files_to_sign:
- TuneUp/bin/Debug/net8.0-windows/TuneUp.dll
-
type: customized
scripts:
- "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path TuneUp/bin/Debug/net8.0-windows/TuneUp.dll -DestinationPath TuneUp.zip"
-
type: artifacts
publish_to_jenkins: true
publish_to_artifactory: false
allow_branches: ".*"
outputs:
- TuneUp.zip