diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..aab1ac2 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,34 @@ +pipeline { + agent any + + stages { + stage('Build') { + steps { + echo 'Building from Docker Compose...' + step( + [ + $class: 'DockerBuilderPublisher', + cleanImages: false, + cleanupWithJenkinsJobDelete: false, + cloud: '', + dockerFileDirectory: '', + fromRegistry: [url: 'docker-registry1.in.thelinuxpro.net:5000'], + pushCredentialsId: '', + pushOnSuccess: false, + tagsString: '' + ] + ) + } + } + stage('Push to Registry') { + steps { + echo('docker push [disabled]') + } + } + stage('Deploy') { + steps { + echo 'Deploying....' + } + } + } +}