Commit f5fe387c authored by Marco Ortiz's avatar Marco Ortiz

.

parent 26c40210
...@@ -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 = '.' //PACKAGE_VERSION = '.'
} }
agent any agent any
parameters { parameters {
...@@ -18,9 +18,9 @@ pipeline { ...@@ -18,9 +18,9 @@ pipeline {
nodejs(nodeJSInstallationName: 'NodeJS13', configId: '77600a18-f968-4cca-83e4-a9f76d165336') { nodejs(nodeJSInstallationName: 'NodeJS13', configId: '77600a18-f968-4cca-83e4-a9f76d165336') {
sh 'PACKAGE_VERSION=$(node -p -e "require(\'./package.json\').version")' sh 'PACKAGE_VERSION=$(node -p -e "require(\'./package.json\').version")'
echo "Branch1112211 is $PACKAGE_VERSION" echo "Branch1112211 is $PACKAGE_VERSION"
sh 'npm config ls' // sh 'npm config ls'
sh 'npm install' // sh 'npm install'
sh 'npm i -D typescript@3.4.3' // sh 'npm i -D typescript@3.4.3'
} }
echo "Branch11111 is ${PACKAGE_VERSION}..." echo "Branch11111 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