Replacing Jenkinsfile

This commit is contained in:
Stephen Vanderwarker 2021-06-20 19:21:11 -04:00
parent bac9ec05ed
commit 2d87a019b7

22
Jenkinsfile vendored
View File

@ -1,14 +1,20 @@
pipeline { pipeline {
agent { agent any
docker {
image 'node:lts-buster-slim'
args '-p 3000:3000'
}
}
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'npm install' echo 'Building..'
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
} }
} }
} }