mirror of
https://github.com/valitydev/party-client-erlang.git
synced 2024-11-06 10:45:23 +00:00
Switch to Erlang lib pipe (#15)
* Switch to Erlang lib pipe * Fix path to dmt_client
This commit is contained in:
parent
8066d54e39
commit
1ce157bb2d
51
Jenkinsfile
vendored
51
Jenkinsfile
vendored
@ -1,5 +1,20 @@
|
|||||||
#!groovy
|
#!groovy
|
||||||
// -*- mode: 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 = {
|
def finalHook = {
|
||||||
runStage('store CT logs') {
|
runStage('store CT logs') {
|
||||||
@ -7,41 +22,17 @@ def finalHook = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
build('dmt_client', 'docker-host', finalHook) {
|
build('party_client_erlang', 'docker-host', finalHook) {
|
||||||
checkoutRepo()
|
checkoutRepo()
|
||||||
loadBuildUtils()
|
loadBuildUtils()
|
||||||
|
|
||||||
def pipeDefault
|
def pipeErlangLib
|
||||||
def withWsCache
|
|
||||||
runStage('load pipeline') {
|
runStage('load pipeline') {
|
||||||
env.JENKINS_LIB = "build_utils/jenkins_lib"
|
env.JENKINS_LIB = "build_utils/jenkins_lib"
|
||||||
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
|
env.SH_TOOLS = "build_utils/sh"
|
||||||
withWsCache = load("${env.JENKINS_LIB}/withWsCache.groovy")
|
pipeErlangLib = load("${env.JENKINS_LIB}/pipeErlangLib.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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pipeErlangLib.runPipe(true,true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 4e6aae0f31885d3c56d09c72de7ef8d432149dbf
|
Subproject commit 8cee874fda7c15061b4c8493a434b74b785840b5
|
@ -69,7 +69,7 @@
|
|||||||
{profiles, [
|
{profiles, [
|
||||||
{test, [
|
{test, [
|
||||||
{deps, [
|
{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"}}}
|
||||||
]}
|
]}
|
||||||
]}
|
]}
|
||||||
]}.
|
]}.
|
||||||
|
Loading…
Reference in New Issue
Block a user