From 500afc7d85d38f4c6874a9a75eb79fa50e47c046 Mon Sep 17 00:00:00 2001 From: Savpek Date: Thu, 11 Apr 2019 10:57:00 +0300 Subject: [PATCH] Added npm publish. --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e7594b2..156b8a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -library 'jenkins-ptcs-library@0.2.5' +library 'jenkins-ptcs-library@fix/npm-publish' podTemplate(label: pod.label, containers: pod.templates + [ @@ -34,6 +34,9 @@ podTemplate(label: pod.label, """ } } + stage('Publish on release') { + publishTagToNpm() + } stage('Report') { step([ $class: 'CloverPublisher',