Skip to content

Commit

Permalink
fix: codacy reporting order #36
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelJNunez committed Mar 22, 2021
1 parent 55d929d commit 9b98375
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ pipeline {
"""

withCredentials([string(credentialsId: 'codacy-token', variable: 'CODACY_PROJECT_TOKEN')]) {
sh 'bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml'
sh """
curl -Ls https://coverage.codacy.com/get.sh > coveragereport.sh
chmod 755 coveragereport.sh
./coveragereport.sh report -r coverage.xml
"""
}
}
}
Expand Down

0 comments on commit 9b98375

Please sign in to comment.