diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..285a90f27b --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,35 @@ +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/README.md b/README.md index 8a36e36b2c..70a67f7cf7 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,5 @@ The `jenkins` directory contains an example of the `Jenkinsfile` (i.e. Pipeline) you'll be creating yourself during the tutorial and the `scripts` subdirectory contains shell scripts with commands that are executed when Jenkins processes the "Test" and "Deliver" stages of your Pipeline. + +A change to test build diff --git a/src/App.js b/src/App.js index 203067e4d7..b744d8a4fd 100644 --- a/src/App.js +++ b/src/App.js @@ -8,11 +8,14 @@ class App extends Component {
To get started, edit src/App.js and save to reload.
+ 1. changes OK OK OK Made the change now! Again with PMDK now
+ 2Making another change to my code optimized for Apache Pass, this should trigger Jenkins build, and then launch app