Compare commits
2 Commits
b2e00eb030
...
8b276f9828
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b276f9828 | |||
| 56cfd79687 |
38
Jenkinsfile
vendored
38
Jenkinsfile
vendored
@@ -7,25 +7,31 @@ pipeline {
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Install Dependencies') {
|
||||
steps {
|
||||
sh 'npm ci'
|
||||
}
|
||||
}
|
||||
// stage('Install Dependencies') {
|
||||
// steps {
|
||||
// sh 'npm ci'
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Test & Security Audit') {
|
||||
steps {
|
||||
echo 'Start checking security vulnerabilities in npm packages'
|
||||
sh 'npm audit'
|
||||
}
|
||||
}
|
||||
// stage('Test & Security Audit') {
|
||||
// steps {
|
||||
// echo 'Start checking security vulnerabilities in npm packages'
|
||||
// sh 'npm audit'
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Build') {
|
||||
when {
|
||||
branch 'development'
|
||||
}
|
||||
// stage('Build') {
|
||||
// when {
|
||||
// branch 'development'
|
||||
// }
|
||||
// steps {
|
||||
// sh 'npm run build'
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Containerize') {
|
||||
steps {
|
||||
sh 'npm run build'
|
||||
sh 'docker -h'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user