jenkins add dockerbuild
This commit is contained in:
parent
5f35f52f36
commit
97a9f163c3
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
Normal file → Executable file
3
Jenkinsfile
vendored
Normal file → Executable file
|
|
@ -8,9 +8,10 @@ pipeline
|
|||
steps
|
||||
{
|
||||
echo 'Starting Build...'
|
||||
docker build . -t "sample-project:v1.0"
|
||||
|
||||
// Delete old and create new out folder
|
||||
sh 'rm -rf out && mkdir out -p'
|
||||
//sh 'rm -rf out && mkdir out -p'
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue