diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..af84bacfbc --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline{ + agent { + docker { + image 'node:6-alpine' + args '-p 3000:3000' + } + } + stages{ + stage('Checkout'){ + steps{ + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/Buffer0x7cd/simple-node-js-react-npm-app.git']]]) + } + } + stage('Build'){ + steps{ + sh 'npm install' + } + } + } +} \ No newline at end of file