Browse Source

Remove jenkinsfile sentry cli step

pull/55/head
Ionite 1 year ago
parent
commit
b925c396f3
No known key found for this signature in database
  1. 16
      Jenkinsfile

16
Jenkinsfile vendored

@ -31,22 +31,6 @@ node("Windows") {
bat "dotnet publish .\\StabilityMatrix\\StabilityMatrix.csproj -c Release -o out -r win-x64 -p:PublishSingleFile=true -p:Version=${version} -p:FileVersion=${version} -p:AssemblyVersion=${version} --self-contained true" bat "dotnet publish .\\StabilityMatrix\\StabilityMatrix.csproj -c Release -o out -r win-x64 -p:PublishSingleFile=true -p:Version=${version} -p:FileVersion=${version} -p:AssemblyVersion=${version} --self-contained true"
} }
if (env.TAG_NAME) {
stage('Sentry Release') {
bat "pip install sentry-cli"
def sentry_org = "stability-matrix"
def sentry_project = "dotnet"
def sentry_environment = "production"
def sentry_release = "StabilityMatrix@${version}"
bat "sentry-cli releases new -p ${sentry_project} ${sentry_release}"
bat "sentry-cli releases set-commits ${sentry_release} --auto"
bat "sentry-cli releases files ${sentry_release} upload-sourcemaps ./out"
bat "sentry-cli releases finalize ${sentry_release}"
bat "sentry-cli releases deploys ${sentry_release} new -e ${sentry_environment}"
}
}
stage ('Archive Artifacts') { stage ('Archive Artifacts') {
archiveArtifacts artifacts: 'out/*.exe', followSymlinks: false archiveArtifacts artifacts: 'out/*.exe', followSymlinks: false
} }

Loading…
Cancel
Save