diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..2c4b828fb8 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,31 @@ +pipeline { + agent { + docker { + image 'node:6-alpine' + args '-p 3000:3000' + } + } + environment { + CI = 'true' + } + stages { + stage('Build') { + steps { + sh 'npm install' + } + } + stage('Test') { + steps { + sh './jenkins/scripts/test.sh' + } + } + stage('Deliver') { + steps { + sh './jenkins/scripts/deliver.sh' + input message: 'Finished using the web site? (Click "Proceed" to continue)' + sh './jenkins/scripts/kill.sh' + } + } + } + +} \ No newline at end of file diff --git a/package.json b/package.json index 53720bdbbb..9429268ca0 100644 --- a/package.json +++ b/package.json @@ -13,4 +13,4 @@ "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" } -} \ No newline at end of file +} diff --git a/public/index.html b/public/index.html index 7bee027101..84335d5b71 100644 --- a/public/index.html +++ b/public/index.html @@ -1,16 +1,17 @@ - - - - - - - - - React App - - - -
- - - + + + \ No newline at end of file