26 lines
478 B
Groovy
Executable file
26 lines
478 B
Groovy
Executable file
pipeline
|
|
{
|
|
agent { dockerfile true }
|
|
stages
|
|
{
|
|
stage ('Build')
|
|
{
|
|
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'
|
|
|
|
}
|
|
}
|
|
stage ('Test')
|
|
{
|
|
steps
|
|
{
|
|
echo 'Running Test...'
|
|
}
|
|
}
|
|
}
|
|
}
|