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
32 changes: 32 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
pipeline {
agent any
stages {
stage('build') {
steps {
echo 'this is the build job'
sh 'npm install'
}
}

stage('test') {
steps {
echo 'this is the test job'
sh 'npm test'
}
}

stage('package') {
steps {
sh 'npm run package'
archiveArtifacts '**/distribution/*.zip'
}
}

}
post {
always {
echo 'this pipeline has completed...'
}

}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Front-end application written in [Node.js](https://nodejs.org/en/) that puts tog

# Setting up Dev Env

Platform : Ubuntu 16.04
Platform : Ubuntu 18.04


### Common Setup
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mogambo-front-end",
"version": "0.0.1",
"version": "0.0.2",
"description": "Front end for mogambo application.",
"main": "server.js",
"config": {
Expand Down