[Jenkinsfile] Get rid of dldtPipelineEntrypoint (#3012)
authorAlina Kladieva <alina.kladieva@intel.com>
Mon, 9 Nov 2020 16:17:19 +0000 (19:17 +0300)
committerGitHub <noreply@github.com>
Mon, 9 Nov 2020 16:17:19 +0000 (19:17 +0300)
* [Jenkinsfile] Get rid of dldtPipelineEntrypoint

* [Jenkinsfile] Add library_version parameter

Co-authored-by: akladiev <akladiev@nncv-akladieva.inn.intel.com>
Jenkinsfile

index 3dc4630..630ca01 100755 (executable)
@@ -4,7 +4,12 @@ properties([
     parameters([
         booleanParam(defaultValue: true,
                      description: 'Cancel the rest of parallel stages if one of them fails and return status immediately',
-                     name: 'failFast')
+                     name: 'failFast'),
+        string(defaultValue: '',
+               description: 'Pipeline shared library version (branch/tag/commit). Determined automatically if empty',
+               name: 'library_version')
     ])
 ])
-dldtPipelineEntrypoint(this)
+loadOpenVinoLibrary {
+    entrypoint(this)
+}