mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
28 lines
627 B
Groovy
28 lines
627 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
checkout scm
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building the project'
|
|
docker.build("30hours/blah2", "--file ./Dockerfile .")
|
|
docker.build("30hours/blah2", "--file ./api/Dockerfile .")
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Running tests'
|
|
}
|
|
}
|
|
stage('Push') {
|
|
steps {
|
|
echo 'Pushing the application'
|
|
}
|
|
}
|
|
}
|
|
}
|