diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..cf6ea71f5a --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +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' + } + } + } +} diff --git a/src/App.js b/src/App.js index 203067e4d7..da226a7dd8 100644 --- a/src/App.js +++ b/src/App.js @@ -11,7 +11,7 @@ class App extends Component {
- To get started, edit src/App.js and save to reload.
+ My name is Jimmy Lin and I modified this code.