From c4435b490594f5bae3076e92796a0db6d36abc2d Mon Sep 17 00:00:00 2001 From: wintoo Date: Sat, 4 May 2019 22:09:32 -0500 Subject: [PATCH 1/5] added Jenkinsfile to repo --- Jenkinsfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..8b6e715ec --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,21 @@ +node { + stage('scm checkout') { + echo "scm checkout" + git branch: 'dev', + credentialsId: '6107d8e5-fe4e-43c2-ae69-8730c09edecb', + url: 'https://github.com/wintoo/node-express-realworld-example-app.git' + } + + stage('build') { + sh 'npm install' + } + + stage('test') { + echo "test" + } + + stage('deploy') { + echo "deploy" + } + +} From 58f62780f7a7b5a910453d7082304ff810b24447 Mon Sep 17 00:00:00 2001 From: wintoo Date: Sat, 4 May 2019 22:38:27 -0500 Subject: [PATCH 2/5] refactored jenkinsfile for testing --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 660365d2f..95e3c6512 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,7 @@ Requests are authenticated using the `Authorization` header with a valid JWT. We
[![Brought to you by Thinkster](https://raw.githubusercontent.com/gothinkster/realworld/master/media/end.png)](https://thinkster.io) + + + +### hellow world From 86feba25bd53e0efab5d66d3f498b410ae8814d4 Mon Sep 17 00:00:00 2001 From: wintoo Date: Sat, 4 May 2019 22:53:02 -0500 Subject: [PATCH 3/5] testing --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 95e3c6512..46dff9c26 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # ![Node/Express/Mongoose Example App](project-logo.png) [![Build Status](https://travis-ci.org/anishkny/node-express-realworld-example-app.svg?branch=master)](https://travis-ci.org/anishkny/node-express-realworld-example-app) From 0c730a0018ae09180d675eaf44b7ae10bef1c379 Mon Sep 17 00:00:00 2001 From: wintoo Date: Sat, 4 May 2019 22:55:17 -0500 Subject: [PATCH 4/5] Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8b6e715ec..7585c5116 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,4 @@ + node { stage('scm checkout') { echo "scm checkout" From 0d412315219b54c604168d124658bd2539fa3073 Mon Sep 17 00:00:00 2001 From: wintoo Date: Sun, 5 May 2019 02:25:08 -0500 Subject: [PATCH 5/5] modifited jenkinsfrom master --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7585c5116..a3584586e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ - +# from mastere node { stage('scm checkout') { echo "scm checkout"