Skip to content

Commit

Permalink
Tests and code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
juanluelguerre committed Apr 28, 2019
1 parent 43130c0 commit 3c814ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions MyBudget.Tests/MyBudget.Tests.csproj
Expand Up @@ -15,6 +15,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="2.6.0" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions jenkinsfile
@@ -1,15 +1,15 @@
pipeline {
agent any
stages {
stage('Checkout git repo') {
stage('Checkout git repo (DEV)') {
steps {
git branch: 'master', url: params.GIT_REPO
}
}

stage('Build and Publish') {
steps {
sh(script: "dotnet publish MyBudget.sln -c Release", returnStdout: true)
sh(script: "dotnet publish MyBudget.sln -c Release", returnStdout: true)
}
}

Expand All @@ -23,9 +23,9 @@ pipeline {
}

stage('Deploy to Azure (PROD)') {
when {
branch 'master'
}
//when {
// branch 'master'
//}
steps {
input 'Do you approve deployment to PRO?'

Expand Down

0 comments on commit 3c814ac

Please sign in to comment.