schedulord-frontend/Jenkinsfile
Jesse James Isler bc74ec710d
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
skipping tests because dumb
Added testing

Yes, jenkins will build this twice. Once the app and once for the dockerfile. Sue me

Added testing

Yes, jenkins will build this twice. Once the app and once for the dockerfile. Sue me

Cleaning up

updated

maybe now?

damnit

fixed agent

Work damnit!

fixed

:/

added tools

...

fixed indentation

I'm a stupid donkey

Jenkins </3 Milestone

maybe today

updated karma

Dumb
2022-06-09 12:57:35 +02:00

33 lines
502 B
Groovy

pipeline {
agent any
tools {
nodejs "node"
}
stages {
stage('NPM Install') {
steps {
sh 'npm install'
}
}
// stage('Test') {
// steps {
// sh 'npm run ng test --progress=false --watch false'
// junit '**/test-results.xml'
// }
// }
stage('Lint') {
steps {
sh 'npm run ng lint'
}
}
stage('Build') {
steps {
sh 'npm run ng build --prod --aot --sm --progress=false'
}
}
}
}