Skip to content

Commit fb2f0bf

Browse files
author
Sandip Das
committed
added jenkins file
1 parent 20c17e9 commit fb2f0bf

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM 120717539064.dkr.ecr.us-west-2.amazonaws.com/node:14
1+
FROM node:14
22

33
# Setting working directory. All the path will be relative to WORKDIR
44
WORKDIR /usr/src/app

Jenkinsfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
pipeline {
2+
agent any
3+
4+
tools {nodejs "node"}
5+
6+
stages {
7+
8+
stage('Git') {
9+
steps {
10+
git 'https://github.com/sd031/aws_codebuild_codedeploy_nodeJs_demo.git'
11+
}
12+
}
13+
14+
stage('Build') {
15+
steps {
16+
sh 'npm install'
17+
// sh '<<Build Command>>' run any commands as needed
18+
}
19+
}
20+
21+
// stage('Test') {
22+
// steps {
23+
// sh 'node test'
24+
// }
25+
// }
26+
}
27+
}

0 commit comments

Comments
 (0)