diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000000000000000000000000000000000..3c8bc4ca54bda3fd666f622db9c56cf595080b56 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,42 @@ +pipeline{ + agent any + + stages{ + stage ('checkout'){ + steps{ + checkout scm + } + } + + stage ('install modules'){ + steps{ + sh 'npm install --verbose -d' + } + } + + stage ('test'){ + steps{ + /* sh 'ng test --watch=false --no-progress --browsers=ChromeNoSandboxHeadless' */ + } + } + + stage ('code quality'){ + steps{ + / * sh 'ng lint' */ + } + } + + stage ('build') { + steps{ + sh 'ng build --aot=true --prod=true' + } + } + + stage('Deploy') { + steps { + echo 'Deploying....' + } + } + + } +}