19 lines
540 B
Groovy
19 lines
540 B
Groovy
pipeline {
|
|
agent {
|
|
label '.net7.0'
|
|
}
|
|
stages {
|
|
stage('Build classlib') {
|
|
steps {
|
|
sh '''cd classlib
|
|
dotnet build --no-incremental --force --configuration Release
|
|
dotnet publish -c Release'''
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'classlib/bin/Release/netstandard2.1/publish/*.dll, *.psd1, *.psm1, LICENSE, **/*.ps1xml, **/*.ps1', followSymlinks: false, onlyIfSuccessful: true
|
|
}
|
|
}
|
|
} |