Skip to content

Commit

Permalink
Use sd jenkins library
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Jun 24, 2019
1 parent 939a1d0 commit db25e45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
def podLabel = 'storm-backend-server_' + JOB_BASE_NAME.replaceAll('%2F','').replaceAll("[^a-zA-Z0-9]+","") + '-' + BUILD_NUMBER
@Library('sd')_
def kubeLabel = getKubeLabel()

pipeline {

agent {
kubernetes {
label "${podLabel}"
label "${kubeLabel}"
cloud 'Kube mwdevel'
defaultContainer 'jnlp'
inheritFrom 'ci-template'
Expand Down

0 comments on commit db25e45

Please sign in to comment.