diff --git a/Jenkinsfile b/Jenkinsfile index db8d3f5..53a51e4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,9 @@ pipeline { stage('Install Dependencies') { steps { - sh 'npm install' + + echo "sudo vaibhav patlll" + } } @@ -16,8 +18,10 @@ pipeline { } } - stage("Deploy nodejs application") { - steps { + + stage("Deploy application ASAP") { + + steps { sh 'echo "deploying application..."' } @@ -25,4 +29,4 @@ pipeline { } - } \ No newline at end of file + } diff --git a/README.md b/README.md index 697c36f..af6a620 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ ### Setup nodejs packages on jenkins (needed for build) and application server (needed to deploy) 1. Enable nodejs packages on Linux server + echo is used only for this ```sh curl -sL https://rpm.nodesource.com/setup_15.x | bash - ``` @@ -20,17 +21,14 @@ yum -y install nodejs ``` - Setup Jenkins job - ## Fork nodejs applicaton onto your repository Github URL: https://github.com/ravdy/nodejs.git Using simple "hello world" application from the [nodejs.org](https://nodejs.org/en/docs/guides/getting-started-guide/) website - ## On Jenkins GUI 1. Create the new FreeStyle Project