Skip to content

Commit

Permalink
Add pipeline yaml (#64)
Browse files Browse the repository at this point in the history
* Add pipeline yaml

* Update

* update
  • Loading branch information
QilongTang authored Sep 27, 2024
1 parent 98793bd commit 87240cd
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
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

0 comments on commit 87240cd

Please sign in to comment.