|
|
|
@ -7,10 +7,10 @@ pipeline { |
|
|
|
stages { |
|
|
|
stage('Build') { |
|
|
|
steps { |
|
|
|
sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean' |
|
|
|
sh 'sudo apt-get install -y curl ' |
|
|
|
sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' |
|
|
|
sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx' |
|
|
|
//sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean' |
|
|
|
//sh 'sudo apt-get install -y curl ' |
|
|
|
//sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' |
|
|
|
//sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx' |
|
|
|
sh 'npm install' |
|
|
|
} |
|
|
|
} |
|
|
|
|