limiter-proto/Jenkinsfile
Артем 84cc6b7355
P2C-12: New limiter proto (#2)
* new limiter proto

* added clock

* added configurator service

* added limit context

* added id and desc to configuration

* added requested changes

* refactored limit config api

* added timestamp to config struct

* moved operation_timestamp from change to context

* added ForbiddenOperationAmount exception

* added shard size to config

* added lim range

* fixed account id

* added limit config and new limit context

* fixed

* added currency to config

* updated configurator

* removed cash from limiter limit struct

* added op type to context

* removed entity

* added context type to config

* added currency to limit range

* changed to optional for op
2021-04-29 12:00:46 +03:00

25 lines
601 B
Groovy

#!groovy
// -*- mode: groovy -*-
build('limiter-proto', 'docker-host') {
checkoutRepo()
loadBuildUtils()
def pipeDefault
def gitUtils
runStage('load pipeline') {
env.JENKINS_LIB = "build_utils/jenkins_lib"
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
pipeJavaProto = load("${env.JENKINS_LIB}/pipeJavaProto.groovy")
gitUtils = load("${env.JENKINS_LIB}/gitUtils.groovy")
}
pipeDefault() {
runStage('compile') {
sh "make wc_compile"
}
env.skipSonar = 'true'
pipeJavaProto()
}
}