Files
test/Jenkinsfile
Jan Rabcan b22eb3d214
Some checks failed
internetmastercz/test/pipeline/head There was a failure building this commit
t.
2021-10-20 00:42:44 +02:00

30 lines
701 B
Groovy

pipeline {
agent { dockerfile true }
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}"
}
}
}
}