24 lines
481 B
Plaintext
24 lines
481 B
Plaintext
pipeline {
|
|
agent any
|
|
|
|
tools {
|
|
nodejs 'nodejs'
|
|
}
|
|
stages{
|
|
stage('Checkout') {
|
|
steps {
|
|
git branch: 'jenkins-build' url: 'https://github.com/dumsilor/link-manage.git'
|
|
}
|
|
}
|
|
stage('Install Dependencies') {
|
|
steps {
|
|
sh 'npm install'
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying...'
|
|
}
|
|
}
|
|
}
|
|
} |