added scripts
Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit
Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit
This commit is contained in:
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@@ -2,10 +2,26 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Do nothing') {
|
||||
stage('Environment') {
|
||||
steps {
|
||||
sh '/bin/true'
|
||||
sh 'git --version'
|
||||
sh 'printenv'
|
||||
}
|
||||
}
|
||||
stage('Build Frontend') {
|
||||
steps {
|
||||
sh './jenkins/buildFrontend.sh'
|
||||
}
|
||||
}
|
||||
stage('Deploy Backend') {
|
||||
steps {
|
||||
sh './jenkins/deployBackend.sh'
|
||||
}
|
||||
}
|
||||
stage('Deploy Frontend') {
|
||||
steps {
|
||||
sh './jenkins/deployFrontend.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user