Files
test/Jenkinsfile
Jan Rabcan 2339423f16
Some checks failed
internetmastercz/test/pipeline/head There was a failure building this commit
internetmastercz/test/pipeline/pr-feature/Feature-1 There was a failure building this commit
s
2021-10-19 23:15:33 +02:00

28 lines
628 B
Groovy

pipeline {
agent {
docker { image 'node:17-alpine' }
}
stages {
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}"
}
}
}
}