mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Jenkins add script block
This commit is contained in:
parent
0b1683a6cd
commit
6e1e7c0c27
1 changed files with 5 additions and 3 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -9,9 +9,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Building the project'
|
script {
|
||||||
docker.build("30hours/blah2", "--file ./Dockerfile .")
|
echo 'Building the project'
|
||||||
docker.build("30hours/blah2", "--file ./api/Dockerfile .")
|
blah2 = docker.build("30hours/blah2", "--file ./Dockerfile .")
|
||||||
|
blah2_api = docker.build("30hours/blah2", "--file ./api/Dockerfile .")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
|
|
Loading…
Reference in a new issue