29 lines
606 B
Groovy
29 lines
606 B
Groovy
pipeline {
|
|
agent {
|
|
docker { image 'node:18.18.2-alpine3.18' }
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building..'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing..'
|
|
if (fileExists('CenaMieszkaniaDesign.py')) {
|
|
echo 'Yes'
|
|
} else {
|
|
echo 'No'
|
|
}
|
|
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
} |