blah2/Jenkinsfile

31 lines
702 B
Plaintext
Raw Normal View History

2024-02-15 12:01:41 +00:00
pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build') {
steps {
2024-02-15 13:17:51 +00:00
script {
echo 'Building the project'
blah2 = docker.build("30hours/blah2", "--file ./Dockerfile .")
blah2_api = docker.build("30hours/blah2", "--file ./api/Dockerfile .")
}
2024-02-15 12:01:41 +00:00
}
}
stage('Test') {
steps {
echo 'Running tests'
}
}
stage('Push') {
steps {
echo 'Pushing the application'
}
}
}
}