Files
test/Jenkinsfile
Jan Rabcan 0da872ca85
Some checks failed
internetmastercz/test/pipeline/head There was a failure building this commit
t
2021-10-19 23:36:57 +02:00

33 lines
732 B
Groovy

pipeline {
agent {
docker { image 'node:17-alpine' }
}
stages {
stage('Init') {
steps {
sh 'node --version'
}
}
stage('Build') {
steps {
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
echo 'Building..'
sh 'docker info'
}
}
stage('Test') {
steps {
echo "start Testing"
sh 'sleep 5'
echo "finish Testing"
}
}
stage('Deploy') {
steps {
echo "Deploying.... ${env.ENV_REGISTRY_URL} - ${env.ENV_REGISTRY_USER}"
}
}
}
}