diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..18d7f6fe --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +node { + def image + stage('Clone repository') { + checkout scm + } + + stage('build image'){ + + image = docker.build("denbicloud/cloud-portal-client") + } + stage('push image'){ + withDockerRegistry([ credentialsId: "docker1", url: "" ]) { + image.push("dev") + } + } + }