summaryrefslogtreecommitdiff
path: root/progress.py
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2021-12-16 02:42:33 -0700
committerGitHub <noreply@github.com>2021-12-16 02:42:33 -0700
commita99a739216da5ffe5f76790b4156db7ecbb6ad8e (patch)
tree9c6258b0442df1d0d1d3c3a5cfc89097e6ca4d1c /progress.py
parent1702697b73f3f7cf5db3d2e84991fc493efb47cf (diff)
Update Jenkinsfile (#97)
* Update Jenkinsfile * Update progress.py * Update Jenkinsfile
Diffstat (limited to 'progress.py')
-rw-r--r--progress.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progress.py b/progress.py
index a907280e3..b084d27c2 100644
--- a/progress.py
+++ b/progress.py
@@ -272,6 +272,9 @@ if args.format == 'csv':
str(TotalNonMatchingFunctions), str(TotalMipsToCFunctions)]
print(",".join(csv_list))
+elif args.format == 'badge1':
+ print(round(srcPct, 2)+"%")
+
elif args.format == 'shield-json':
# https://shields.io/endpoint
print(json.dumps({