Switch to Erlang lib pipe (#15)

* Switch to Erlang lib pipe

* Fix path to dmt_client
This commit is contained in:
Sergey Yelin 2020-07-08 19:17:06 +03:00 committed by GitHub
parent 8066d54e39
commit 1ce157bb2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 33 deletions

51
Jenkinsfile vendored
View File

@ -1,5 +1,20 @@
#!groovy
// -*- mode: groovy -*-
//
// Copyright 2020 RBKmoney
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
def finalHook = {
runStage('store CT logs') {
@ -7,41 +22,17 @@ def finalHook = {
}
}
build('dmt_client', 'docker-host', finalHook) {
build('party_client_erlang', 'docker-host', finalHook) {
checkoutRepo()
loadBuildUtils()
def pipeDefault
def withWsCache
def pipeErlangLib
runStage('load pipeline') {
env.JENKINS_LIB = "build_utils/jenkins_lib"
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
withWsCache = load("${env.JENKINS_LIB}/withWsCache.groovy")
}
pipeDefault() {
runStage('compile') {
withGithubPrivkey {
sh 'make wc_compile'
}
}
runStage('lint') {
sh 'make wc_lint'
}
runStage('xref') {
sh 'make wc_xref'
}
runStage('dialyze') {
withWsCache("_build/default/rebar3_22.3.1_plt") {
sh 'make wc_dialyze'
}
}
runStage('test') {
withGithubPrivkey {
sh "make wc_get_test_deps"
}
sh "make wdeps_test"
}
env.SH_TOOLS = "build_utils/sh"
pipeErlangLib = load("${env.JENKINS_LIB}/pipeErlangLib.groovy")
}
pipeErlangLib.runPipe(true,true)
}

@ -1 +1 @@
Subproject commit 4e6aae0f31885d3c56d09c72de7ef8d432149dbf
Subproject commit 8cee874fda7c15061b4c8493a434b74b785840b5

View File

@ -69,7 +69,7 @@
{profiles, [
{test, [
{deps, [
{dmt_client, {git, "git@github.com:rbkmoney/dmt_client.git", {branch, "master"}}}
{dmt_client, {git, "https://github.com/rbkmoney/dmt_client.git", {branch, "master"}}}
]}
]}
]}.
]}.