Compare commits
3 Commits
1.0.8.post
...
1.0.9.post
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
658eef2df6 | ||
|
|
3d2b8d3762 | ||
|
|
da9fa475e8 |
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -89,7 +89,7 @@ int GetCoverageValue(String CoverageFilePath,String XPath)
|
||||
|
||||
String getColorScale(BigDecimal value)
|
||||
{
|
||||
if( value >9) { return "gold"}
|
||||
if( value >9) { return "Goldenrod"}
|
||||
else if( value >6) { return "seagreen"}
|
||||
else if( value >4) { return "orange"}
|
||||
else if( value >2) { return "darkred"}
|
||||
@@ -102,7 +102,7 @@ String getColorScale_reversed(BigDecimal value)
|
||||
else if( value >6) { return "darkred"}
|
||||
else if( value >4) { return "orange"}
|
||||
else if( value >2) { return "seagreen"}
|
||||
else { return "gold"}
|
||||
else { return "Goldenrod"}
|
||||
}
|
||||
|
||||
int GetCoverageValue_lines_valid(String CoverageFilePath) { return GetCoverageValue(CoverageFilePath,"/coverage/@lines-valid") }
|
||||
@@ -488,15 +488,15 @@ pipeline {
|
||||
//badge_quality.setColor(getColorScale_reversed(complexity))
|
||||
|
||||
//badge_maintainability
|
||||
records = readCSV file: 'gitrepo/helpers-results/complexity_check/MI.csv'
|
||||
records = readCSV file: 'helpers-results/complexity_check/MI.csv'
|
||||
maintainability = records[1][1]
|
||||
badge_maintainability.setStatus(maintainability)
|
||||
|
||||
if ( maintainability == 'D') { badge_maintainability.setColor( "dimgrey")}
|
||||
if ( maintainability == 'D') { badge_maintainability.setColor( "dimgrey")}
|
||||
else if( maintainability == 'C') { badge_maintainability.setColor( "darkred")}
|
||||
else if( maintainability == 'B') { badge_maintainability.setColor( "orange")}
|
||||
else if( maintainability == 'A') { badge_maintainability.setColor( "seagreen")}
|
||||
else if( maintainability == 'A+') { badge_maintainability.setColor( "gold")}
|
||||
else if( maintainability == 'A+') { badge_maintainability.setColor( "Goldenrod")}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/pygitv
|
||||
- get current version (bumped)
|
||||
- convert / switch from SemVer to PEP440 (both ways)
|
||||
- automatic version format detection (SemVer by default)
|
||||
- Get commit message history
|
||||
|
||||
## Options
|
||||
- restrict to same branch
|
||||
|
||||
Reference in New Issue
Block a user