Compare commits
No commits in common. "master" and "2023-03-081746" have entirely different histories.
master
...
2023-03-08
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -1,5 +1,8 @@
|
||||
pipeline {
|
||||
agent any
|
||||
tools {
|
||||
dotnetsdk 'dotnet7'
|
||||
}
|
||||
stages {
|
||||
stage('clean old'){
|
||||
steps{
|
||||
@ -8,20 +11,14 @@ pipeline {
|
||||
}
|
||||
stage('linux') {
|
||||
steps {
|
||||
sh 'dotnet publish directors-assistant.csproj --configuration Release --os linux'
|
||||
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*'
|
||||
}
|
||||
}
|
||||
stage('pi') {
|
||||
steps {
|
||||
sh 'dotnet publish directors-assistant.csproj --configuration Release --runtime linux-arm64 --self-contained'
|
||||
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-arm64/publish/*'
|
||||
sh 'dotnet publish --configuration Release --os linux'
|
||||
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*.*'
|
||||
}
|
||||
}
|
||||
stage('windows') {
|
||||
steps {
|
||||
sh 'dotnet publish directors-assistant.csproj --configuration Release --os win'
|
||||
archiveArtifacts artifacts: 'bin/Release/net7.0/win-x64/publish/*.*'
|
||||
sh 'dotnet publish --configuration Release --os windows'
|
||||
archiveArtifacts artifacts: 'bin/Release/net7.0/windows-x64/publish/*.*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ namespace directors_assistant
|
||||
var justArgs = string.Join(' ', cmdAndArgs.Skip(1).ToList());
|
||||
if(!string.IsNullOrWhiteSpace(ec.args))
|
||||
{
|
||||
justArgs += " " + ec.args;
|
||||
justArgs += ec.args;
|
||||
}
|
||||
var commandPath = cmdAndArgs[0];
|
||||
var commandArguments = String.Join(' ', justArgs);
|
||||
|
@ -11,7 +11,7 @@
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="5.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="greyn.franz" Version="2.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user