Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ pipeline {

stage('Install Dependencies') {
steps {
sh 'npm install'

echo "sudo vaibhav patlll"

}
}

Expand All @@ -16,13 +18,15 @@ pipeline {
}
}

stage("Deploy nodejs application") {
steps {

stage("Deploy application ASAP") {

steps {
sh 'echo "deploying application..."'
}

}

}

}
}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
```
Expand All @@ -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
Expand Down