LibZNI/Jenkinsfile
2024-12-16 20:59:32 -07:00

26 lines
No EOL
609 B
Groovy

pipeline {
agent any
options {
buildDiscarder {
numToKeepStr: '5'
}
}
stages {
stage ("Build Library") {
agent {
label 'linux'
}
steps {
sh '''
dotnet restore
dotnet publish LibAC.csproj --nologo -c Release --self-contained true /p:PublishSingleFile=true /p:PublishTrimmed=true
'''
}
post {
archiveArtifacts artifacts: "build/Release/net8.0/LibAC.dll"
}
}
}
}