Browse Source

added JenkinsFile

master
flashlan 4 years ago
parent
commit
407c5a33c0
  1. 8
      Jenkinsfile

8
Jenkinsfile

@ -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'
}
}

Loading…
Cancel
Save