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