diff --git a/pipelines/deploy/ContentFramework/Jenkinsfile b/pipelines/deploy/ContentFramework/Jenkinsfile index f85dc9b7d3..887d8a07ea 100644 --- a/pipelines/deploy/ContentFramework/Jenkinsfile +++ b/pipelines/deploy/ContentFramework/Jenkinsfile @@ -44,7 +44,9 @@ node() { sh """ zip -r content-editor-artifact.zip ansible/content-editor cd ansible/content-editor - nvm use 6 + export NVM_DIR=/home/ubuntu/.nvm + [ -s "\$NVM_DIR/nvm.sh" ] && . "\$NVM_DIR/nvm.sh" + nvm use 6 sudo npm install -g gulp npm install npm install promise