aboutsummaryrefslogtreecommitdiff
path: root/sample_pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'sample_pipeline')
-rw-r--r--sample_pipeline33
1 files changed, 0 insertions, 33 deletions
diff --git a/sample_pipeline b/sample_pipeline
deleted file mode 100644
index 22e4de5..0000000
--- a/sample_pipeline
+++ /dev/null
@@ -1,33 +0,0 @@
-pipeline {
- triggers {
- pollSCM('H/15 * * * *')
- }
- environment {
- registry = "thornycrackers/neovim"
- registryCredential = 'dockerhub'
- }
- agent any
- stages {
- stage('Cloning Git') {
- steps {
- git 'https://github.com/thornycrackers/docker-neovim'
- }
- }
- stage('Build') {
- steps {
- sh 'make setup'
- sh 'make build'
- }
- }
- stage('Push Image'){
- steps {
- script {
- docker.withRegistry( '', registryCredential ) {
- sh 'make push'
- }
- }
-
- }
- }
- }
-}