Browse Source

added JenkinsFile

master
flashlan 4 years ago
parent
commit
d063673c77
  1. 2
      Jenkinsfile

2
Jenkinsfile

@ -9,7 +9,7 @@ pipeline {
steps { steps {
sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean' 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 'sudo apt-get install -y curl '
sh 'sudo curl -sL https://deb.nodesource.com/setup_14.x | bash -' 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 install -y nodejs && sudo apt-get install -y nginx'
//sh 'npm install' //sh 'npm install'
} }

Loading…
Cancel
Save