Compare commits

2 Commits

Author SHA1 Message Date
7f0d14fc25 jenkinsfile 2022-12-27 09:31:54 +03:00
00975bb1c5 jenkinsfile 2022-12-27 09:31:33 +03:00

19
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,19 @@
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
}
}
}