forked from vxmppb/vxmppb
Replacing Jenkinsfile
This commit is contained in:
parent
bac9ec05ed
commit
2d87a019b7
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
|
@ -1,14 +1,20 @@
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:lts-buster-slim'
|
||||
args '-p 3000:3000'
|
||||
}
|
||||
}
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'npm install'
|
||||
echo 'Building..'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Testing..'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
echo 'Deploying....'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user