1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

updated stats

This commit is contained in:
Fedor Katurov 2020-06-05 13:56:28 +07:00
parent 5c936b340b
commit db9a0ac501

2
Jenkinsfile vendored
View file

@ -35,7 +35,7 @@ pipeline {
stage('stats') {
steps {
sh "mkdir -p ${WORKSPACE}/dist/stats"
sh "git log --pretty=format:\'{%n \"commit\": \"%H\",%n \"subject\": \"%s\",%n \"timestamp\": \"%at\"%n},%n\' > ${WORKSPACE}/dist/stats/git.json"
sh "git log --pretty=format:\'{ \"commit\": \"%H\", \"subject\": \"%s\", \"timestamp\": \"%at\" } | awk \'BEGIN { print(\"[\") } { print($0\",\") } END { print(\"]\") }'' > ${WORKSPACE}/dist/stats/git.json"
}
}