updated jenkinsfile
All checks were successful
GiteaTest/JenkinsDotNETTest/pipeline/head This commit looks good
All checks were successful
GiteaTest/JenkinsDotNETTest/pipeline/head This commit looks good
This commit is contained in:
@@ -7,7 +7,14 @@ pipeline {
|
|||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
withDotNet(sdk: '3.1') {
|
withDotNet(sdk: '3.1') {
|
||||||
|
//Release SelfContained singlefile
|
||||||
dotnetPublish configuration: 'Release', outputDirectory: 'bin_SelfContained/', project: 'JenkinsDotNETTest.sln', properties: [PublishSingleFile: 'true'], runtime: 'linux-x64', selfContained: true
|
dotnetPublish configuration: 'Release', outputDirectory: 'bin_SelfContained/', project: 'JenkinsDotNETTest.sln', properties: [PublishSingleFile: 'true'], runtime: 'linux-x64', selfContained: true
|
||||||
|
|
||||||
|
//Release SelfContained seprate files (disabled)
|
||||||
|
//dotnetPublish configuration: 'Release', outputDirectory: 'bin_SelfContained/', project: 'JenkinsDotNETTest.sln', runtime: 'linux-x64', selfContained: true
|
||||||
|
|
||||||
|
//Release for use with existing installed dotnet framework
|
||||||
|
dotnetPublish configuration: 'Release', outputDirectory: 'bin/', project: 'JenkinsDotNETTest.sln', selfContained: false
|
||||||
}
|
}
|
||||||
// Archive Build file
|
// Archive Build file
|
||||||
// Local
|
// Local
|
||||||
|
|||||||
Reference in New Issue
Block a user