mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
Fix Docker build in jenkins
This commit is contained in:
parent
04bfb22176
commit
0b1683a6cd
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -10,8 +10,8 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Building the project'
|
echo 'Building the project'
|
||||||
sh "docker build -t 30hours/blah2 -f Dockerfile ."
|
docker.build("30hours/blah2", "--file ./Dockerfile .")
|
||||||
sh "docker build -t 30hours/blah2_api -f ./api/Dockerfile ."
|
docker.build("30hours/blah2", "--file ./api/Dockerfile .")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
|
|
Loading…
Reference in a new issue