diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..3296b82 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,38 @@ +pipeline { + agent any + + tools { + nodejs 'nodejs' + } + + options { + timestamps() + disableConcurrentBuilds() + } + + stages { + + stage('Checkout') { + steps { + checkout scm + } + } + + stage('Install') { + steps { + dir('dashboard') { + sh 'npm ci' + } + } + } + + stage('Build') { + steps { + dir('dashboard') { + sh 'npm run build' + } + } + } + + } +} \ No newline at end of file