forked from vxmppb/vxmppb
Replacing Jenkinsfile
This commit is contained in:
parent
bac9ec05ed
commit
2d87a019b7
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
|
@ -1,14 +1,20 @@
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:lts-buster-slim'
|
||||
args '-p 3000:3000'
|
||||
}
|
||||
}
|
||||
agent any
|
||||
|
||||
stages {
|
||||
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