coding style and master for jenkins-lib
This commit is contained in:
parent
9fb55c1a09
commit
00efe6e58f
|
@ -1,14 +1,14 @@
|
|||
@Library('eo-jenkins-lib@v0.1') import eo.Utils
|
||||
@Library('eo-jenkins-lib@master') import eo.Utils
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
stages{
|
||||
stage('unit test'){
|
||||
steps{
|
||||
stages {
|
||||
stage('unit test') {
|
||||
steps {
|
||||
sh 'tox -r -- --junitxml=test_results.xml --cov-report xml --cov=bidon/ tests/'
|
||||
}
|
||||
}
|
||||
stage('packaging'){
|
||||
stage('packaging') {
|
||||
steps{
|
||||
script {
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
|
|
Loading…
Reference in New Issue