Compare commits
11 Commits
2023-03-08
...
master
Author | SHA1 | Date | |
---|---|---|---|
e9e7df5478 | |||
9366070031 | |||
ba296dd47b | |||
53c0c8d3fb | |||
ecae3422a9 | |||
e70519a5e8 | |||
0c3a486124 | |||
f1adf6b500 | |||
805b0cc476 | |||
ba68fb79c1 | |||
e06650f30c |
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -1,8 +1,5 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
tools {
|
|
||||||
dotnetsdk 'dotnet7'
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage('clean old'){
|
stage('clean old'){
|
||||||
steps{
|
steps{
|
||||||
@ -11,14 +8,20 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('linux') {
|
stage('linux') {
|
||||||
steps {
|
steps {
|
||||||
sh 'dotnet publish --configuration Release --os linux'
|
sh 'dotnet publish directors-assistant.csproj --configuration Release --os linux'
|
||||||
archiveArtifacts artifacts: 'bin/Release/net7.0/linux-x64/publish/*.*'
|
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/*'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('windows') {
|
stage('windows') {
|
||||||
steps {
|
steps {
|
||||||
sh 'dotnet publish --configuration Release --os windows'
|
sh 'dotnet publish directors-assistant.csproj --configuration Release --os win'
|
||||||
archiveArtifacts artifacts: 'bin/Release/net7.0/windows-x64/publish/*.*'
|
archiveArtifacts artifacts: 'bin/Release/net7.0/win-x64/publish/*.*'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ namespace directors_assistant
|
|||||||
var justArgs = string.Join(' ', cmdAndArgs.Skip(1).ToList());
|
var justArgs = string.Join(' ', cmdAndArgs.Skip(1).ToList());
|
||||||
if(!string.IsNullOrWhiteSpace(ec.args))
|
if(!string.IsNullOrWhiteSpace(ec.args))
|
||||||
{
|
{
|
||||||
justArgs += ec.args;
|
justArgs += " " + ec.args;
|
||||||
}
|
}
|
||||||
var commandPath = cmdAndArgs[0];
|
var commandPath = cmdAndArgs[0];
|
||||||
var commandArguments = String.Join(' ', justArgs);
|
var commandArguments = String.Join(' ', justArgs);
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" 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="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageReference Include="greyn.franz" Version="2.1.0" />
|
<PackageReference Include="greyn.franz" Version="2.1.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user