27 lines
586 B
Plaintext
27 lines
586 B
Plaintext
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('npm install'){
|
|
steps {
|
|
sh '''npm install'''
|
|
}
|
|
}
|
|
stage('build'){
|
|
steps {
|
|
sh '''ng build common
|
|
cp projects/common/src/assets/resumable.js dist/common/fesm5'''
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
emailext (
|
|
body: '${DEFAULT_CONTENT}',
|
|
mimeType: 'text/html',
|
|
replyTo: '${DEFAULT_REPLYTO}',
|
|
subject: '${DEFAULT_SUBJECT}',
|
|
to: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])
|
|
)
|
|
}
|
|
}
|
|
} |