Commit 4354623f authored by Marco Ortiz's avatar Marco Ortiz

.

parent c4d2deac
...@@ -5,7 +5,7 @@ pipeline { ...@@ -5,7 +5,7 @@ pipeline {
tag_name = "192.168.27.148:5000" tag_name = "192.168.27.148:5000"
credentials = "admin-docker-hub" credentials = "admin-docker-hub"
dockerImage = '' dockerImage = ''
PACKAGE_VERSION = sh returnStdout: true, script: '''grep 'version' package.json | cut -d '"' -f4 | tr '\n' '\0''''' PACKAGE_VERSION = '2.5.0'
} }
agent any agent any
parameters { parameters {
...@@ -21,7 +21,6 @@ pipeline { ...@@ -21,7 +21,6 @@ pipeline {
sh 'npm install' sh 'npm install'
sh 'npm i -D typescript@3.4.3' sh 'npm i -D typescript@3.4.3'
} }
echo "Branch is ${PACKAGE_VERSION}..."
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment