mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed stats
This commit is contained in:
parent
82b255236a
commit
e6d5c9210b
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue