mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +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') {
|
||||
steps {
|
||||
echo 'Building the project'
|
||||
docker.build("30hours/blah2", "--file ./Dockerfile .")
|
||||
docker.build("30hours/blah2", "--file ./api/Dockerfile .")
|
||||
script {
|
||||
echo 'Building the project'
|
||||
blah2 = docker.build("30hours/blah2", "--file ./Dockerfile .")
|
||||
blah2_api = docker.build("30hours/blah2", "--file ./api/Dockerfile .")
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
|
|
Loading…
Reference in a new issue