|
|
@ -7,8 +7,8 @@ pipeline {
|
|
|
|
echo 'Checking Style...'
|
|
|
|
echo 'Checking Style...'
|
|
|
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
|
|
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
|
|
|
sh 'npm i'
|
|
|
|
sh 'npm i'
|
|
|
|
sh 'npm i tslint --dev'
|
|
|
|
sh 'npm i typescript tslint'
|
|
|
|
sh 'tslint src/**/*.ts'
|
|
|
|
sh 'tslint "src/**/*.ts"'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -16,6 +16,7 @@ pipeline {
|
|
|
|
steps {
|
|
|
|
steps {
|
|
|
|
echo 'Building...'
|
|
|
|
echo 'Building...'
|
|
|
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
|
|
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
|
|
|
|
|
|
|
sh 'npm i @angular/cli'
|
|
|
|
sh 'ng build --prod'
|
|
|
|
sh 'ng build --prod'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|