dmt-client/Jenkinsfile
Jarosław Rogov 64591401b0
Feat/upstream latest (#53)
* deps: Fix build_utils dir

* feat: Add use_upstream_latest force fetch option

* fix: Add lower limits for max cache size opts

* fix: Fix dialyzer warning

* test: Add use_upstream_latest test

* fix: Fix use_upstream_latest opt fetching

* fix: Add option to sys.config

* ref: Fix naming

* ref: Fix dialyzer warning

* ref: Fix do_get naming

* ref: Move constants to defines

* fix: Check cache limits on start, refactor cache

* test: Fix unit tests

* fix: Fix dialyzer issue

* ref: Rename to use_cached_latest

* fix: Fix option invertion

* fix: Fix inversion once again

* fix: Remove use_cached_latest as env opt

* Revert "fix: Remove use_cached_latest as env opt"

This reverts commit a5216280e1c0a7c5a1bf3420cb60cf6e51343677.

* fix: Remove from opts

* ref: Rename to use_cached_last_version

* fix: Fix use_cached_last_version default

* test: Check default case
2021-10-21 17:58:03 +03:00

23 lines
476 B
Groovy

#!groovy
// -*- mode: groovy -*-
def finalHook = {
runStage('store CT logs') {
archive '_build/test/logs/'
}
}
build('dmt_client', 'docker-host', finalHook) {
checkoutRepo()
loadBuildUtils("build_utils")
def pipeErlangLib
runStage('load pipeline') {
env.JENKINS_LIB = "build_utils/jenkins_lib"
env.SH_TOOLS = "build_utils/sh"
pipeErlangLib = load("${env.JENKINS_LIB}/pipeErlangLib.groovy")
}
pipeErlangLib.runPipe(true, false, 'dialyze')
}