Skip to content

Commit

Permalink
runtimeを指定するとビルドに失敗する。
Browse files Browse the repository at this point in the history
解決策不明。issueはあがっていたので、これが解決したらもとに戻す。dotnet/sdk#14281
  • Loading branch information
southernwind committed Nov 15, 2020
1 parent 1a9db4d commit 90582b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ node {
}

stage('Build'){
dotnetBuild configuration: 'Release', project: 'HomeDashboard.sln', runtime: 'linux-x64', sdk: '.NET5', unstableIfWarnings: true
dotnetBuild configuration: 'Release', project: 'HomeDashboard.sln', sdk: '.NET5', unstableIfWarnings: true
}

withCredentials( \
Expand All @@ -18,7 +18,7 @@ node {
usernameVariable: 'SSH_USER')]) {

stage('Deploy'){
sh 'scp -pr -i ${SSH_KEY} ./Back/bin/Release/net5/linux-x64/* ${SSH_USER}@home-server.localnet: /opt/back-end-api-service'
sh 'scp -pr -i ${SSH_KEY} ./Back/bin/Release/net5/* ${SSH_USER}@home-server.localnet:/opt/back-end-api-service'
}

stage('Restart'){
Expand Down

0 comments on commit 90582b1

Please sign in to comment.