Commit aff54663 authored by Marco Ortiz's avatar Marco Ortiz

.

parent adad61dd
......@@ -16,10 +16,10 @@ pipeline {
steps {
echo "Branch is ${env.BRANCH_NAME}..."
nodejs(nodeJSInstallationName: 'NodeJS13', configId: '77600a18-f968-4cca-83e4-a9f76d165336') {
PACKAGE_VERSION = sh returnStdout: true, script: '''grep 'version' package.json | cut -d '"' -f4 | tr '\n' '\0'''
echo "Current package version: $PACKAGE_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 install'
// sh 'npm i -D typescript@3.4.3'
......
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