File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 - pull_request
7070
7171 - name : docker-pull-request
72- image : docker.target.com/vela-plugins/docker :v0.2.3 -1
72+ image : docker.target.com/vela-plugins/kaniko :v0.5.0 -1
7373 ruleset :
7474 event :
7575 - pull_request
8686
8787
8888 - name : docker-push
89- image : docker.target.com/vela-plugins/docker :v0.2.3 -1
89+ image : docker.target.com/vela-plugins/kaniko :v0.5.0 -1
9090 ruleset :
9191 branch :
9292 - master
Original file line number Diff line number Diff line change 1+ Apache License
2+
3+ Copyright (C) 2021 Target Brands, Inc.
4+
5+ Licensed under the Apache License, Version 2.0 (the "License");
6+ you may not use this file except in compliance with the License.
7+ You may obtain a copy of the License at
8+
9+ http://www.apache.org/licenses/LICENSE-2.0
10+
11+ Unless required by applicable law or agreed to in writing, software
12+ distributed under the License is distributed on an "AS IS" BASIS,
13+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ See the License for the specific language governing permissions and
15+ limitations under the License.
Original file line number Diff line number Diff line change 33
44[ ![ Build Status] ( https://vela-server.prod.target.com/badge/TargetOSS/pull-request-code-coverage/status.svg )] ( https://vela.prod.target.com/TargetOSS/pull-request-code-coverage )
55
6- Drone plugin to allow detecting code coverage for only the lines changed in a PR.
6+ Vela plugin to allow detecting code coverage for only the lines changed in a PR.
77
88Sometimes when working to get a repo to an acceptable level of code coverage, it can be hard to tell if one change is
99covered enough. This plugin will look at just the lines changed in the PR and report code coverage for only those
@@ -35,27 +35,6 @@ PR with a summary of the coverage details.
3535 target : plugin_gh_api_key
3636` ` `
3737
38- ## DRONE Usage
39-
40- ` ` ` yaml
41- check-pr-code-coverage :
42- when :
43- event : [pull_request]
44- image : docker.target.com/app/pull-request-code-coverage
45- pull : true
46- coverage_type : jacoco
47- coverage_file : some-sub-module/build/reports/jacoco/test/jacocoTestReport.xml
48- source_dirs :
49- - src/main/java
50- - src/main/kotlin
51- gh_api_base_url : https://git.target.com
52- module : some-sub-module
53- secrets :
54- - source : pull_request_api_key
55- target : plugin_gh_api_key
56- ` ` `
57-
58-
5938
6039#### Parameters
6140
You can’t perform that action at this time.
0 commit comments