added JenkinsFile
This commit is contained in:
Vendored
+5
-3
@@ -7,9 +7,11 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
nodejs(nodeJSInstallationName: 'Node 6.x', configId: '<config-file-provider-id>') {
|
sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean'
|
||||||
sh 'npm config ls'
|
sh 'sudo apt-get install -y curl '
|
||||||
}
|
sh 'curl -sL https://deb.nodesource.com/setup_8.x | bash -'
|
||||||
|
sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx'
|
||||||
|
//sh 'npm install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
|
|||||||
Reference in New Issue
Block a user