From bb73f2140e3cc742a5f86b2631dfef1fa6165caf Mon Sep 17 00:00:00 2001 From: mbanth Date: Fri, 1 May 2020 13:51:05 +0100 Subject: [PATCH] Update to Jenkins Shared Library v0.12.1 and allow view file names containing '.'. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 10ed3fc0..12512fd1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -@Library('xmos_jenkins_shared_library@develop') _ +@Library('xmos_jenkins_shared_library@v0.12.1') _ getApproval() @@ -6,7 +6,7 @@ pipeline { agent none environment { REPO = 'lib_xua' - VIEW = "${env.JOB_NAME.contains('PR-') ? REPO+'_'+env.CHANGE_TARGET : REPO+'_'+env.BRANCH_NAME}" + VIEW = getViewName(REPO) } options { skipDefaultCheckout()