Skip to content

Commit

Permalink
Merge pull request #9 from CoverGo/feat/option-to-extend-needs-of-sca…
Browse files Browse the repository at this point in the history
…n-code-net-job

Added option to allow scan code job to extend needs
  • Loading branch information
Andrey Leskov authored Feb 26, 2022
2 parents 35e52dd + 560134d commit 68c4098
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gflows/libs/job_scan_code_net.lib.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#@ load("common.lib.yml", "common")
#@ load("configuration.lib.yml", "cfg")
#@ load("job_dependency_resolution.lib.yml", "dep")
---
#@ def generate_scan_code_net_job_steps(scan_code_net, sections):
#@ test_result_artifacts = []
Expand Down Expand Up @@ -61,6 +62,7 @@
#@ def generate_scan_code_net_job(scan_code_net, sections):
#@ steps = generate_scan_code_net_job_steps(scan_code_net, sections)
#@ needs = ["version"]
#@ needs.extend(dep.get_job_needs(scan_code_net))
#@ return common.generate_job(scan_code_net, steps, None, sections, needs, "Sonar scan")
#@ end
---
3 changes: 3 additions & 0 deletions .gflows/workflow-configuration/build-publish/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ scan_code_net:
name: Sonar Code
slug: scan_code_net
#optional
cache_from:
- covergo/auth
- covergo/auth-test-unit
sonar:
coverage_solution_root_path: /sln
verbose: 'true'
Expand Down
2 changes: 2 additions & 0 deletions github-sample/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
runs-on: ubuntu-latest
needs:
- version
- docker-build-auth-service
- docker-build-auth-test-unit
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 68c4098

Please sign in to comment.