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

fixed stats

This commit is contained in:
Fedor Katurov 2020-06-05 14:06:58 +07:00
parent c18d9e43f0
commit 82b255236a

2
Jenkinsfile vendored
View file

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