Skip to content

Commit d8f8acb

Browse files
committed
Added Jenkinsfile
1 parent 92da6ec commit d8f8acb

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Jenkinsfile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,20 @@ pipeline {
1212
sh '''node -v
1313
npm -v
1414
npm prune
15-
npm install'''
15+
npm install
16+
npm install gulpjs/gulp#4.0 -g'''
17+
}
18+
}
19+
stage('Build') {
20+
steps {
21+
echo 'Executing Build Stage'
22+
sh 'npm run build'
23+
}
24+
}
25+
stage('Test') {
26+
steps {
27+
echo 'Executing Test Stage'
28+
sh 'npm run test'
1629
}
1730
}
1831
}

0 commit comments

Comments
 (0)