feature/Feature-1 #4

Merged
jakub merged 39 commits from feature/Feature-1 into master 2021-10-20 15:40:59 +00:00
Showing only changes of commit ec9dfcc214 - Show all commits

50
Jenkinsfile vendored
View File

@@ -1,33 +1,31 @@
pipeline {
agent any
stages {
stage('Installation') {
steps {
echo "start Installation"
echo "finish Installation"
}
node {
stage('Installation') {
steps {
echo "start Installation"
echo "finish Installation"
}
stage('Build') {
steps {
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
echo 'Building..'
}
stage('Build') {
steps {
echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}"
echo 'Building..'
// sh 'docker build -t registry.proxyq.co/hellsos/website .'
}
}
stage('Test') {
steps {
echo "start Testing"
sh 'sleep 5'
echo "finish Testing"
}
}
stage('Test') {
steps {
echo "start Testing"
sh 'sleep 5'
echo "finish Testing"
}
stage('Deploy') {
node {
checkout scm
docker.withRegistry("${env.ENV_REGISTRY_URL}", 'registry-credentials-id') {
def customImage = docker.build("${env.ENV_REGISTRY_URL}/jenkins/website:${env.BUILD_ID}")
customImage.push()
}
}
stage('Deploy') {
node {
checkout scm
docker.withRegistry("${env.ENV_REGISTRY_URL}", 'registry-credentials-id') {
def customImage = docker.build("${env.ENV_REGISTRY_URL}/jenkins/website:${env.BUILD_ID}")
customImage.push()
}
}
}