Files
test/Jenkinsfile
Jan Rabcan 24db9bf2e8
Some checks failed
internetmastercz/test/pipeline/head There was a failure building this commit
a.
2021-10-20 03:01:13 +02:00

37 lines
993 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Installation') {
steps {
echo "start Installation"
echo "finish Installation"
}
}
stage('Build') {
steps {
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
echo 'Building..'
sh 'docker build -t registry.proxyq.co/cd/website .'
}
}
stage('Test') {
steps {
echo "start Testing"
sh 'sleep 5'
echo "finish Testing"
}
}
stage('Deploy') {
steps {
echo "${env.ENV_REGISTRY_URL}"
// docker.withRegistry("https://registry.proxyq.co", 'registry-credentials-id') {
// def customImage = docker.build("registry.proxyq.co/jenkins/website:${env.BUILD_ID}", '.')
// customImage.push()
// }
}
}
}
}