6 Commits

Autor SHA1 Mensaje Fecha
  Avinash 9492987d6e added form hace 2 años
  Avinash 0228fded30 jenkins hace 2 años
  Avinash 2da9807fa0 modified jenkins file hace 2 años
  Avinash 59afa4c31f modified jenkins file hace 2 años
  jenkinstest 3659b2904f Moved processed XML files to backup hace 2 años
  Avinash 40f0e41f31 aadded report hace 2 años
Se han modificado 3 ficheros con 22 adiciones y 25 borrados
  1. 0
    24
      Jenkinsfile
  2. 22
    0
      backup/report/Sales Invoice.xml
  3. 0
    1
      form/Create Route - Form.xml

+ 0
- 24
Jenkinsfile Ver fichero

@@ -6,12 +6,6 @@ pipeline {
6 6
     }
7 7
 
8 8
     stages {
9
-        stage('Checkout') {
10
-    steps {
11
-        checkout scm
12
-    }
13
-}
14
-
15 9
         stage('Setup') {
16 10
             steps {
17 11
                 script {
@@ -39,7 +33,6 @@ pipeline {
39 33
                     process_folder('./app', 'app')
40 34
                     process_folder('./report', 'report')
41 35
                     process_folder('./form', 'form')
42
-                    commitChanges()
43 36
                 }
44 37
             }
45 38
         }
@@ -81,20 +74,3 @@ def process_folder(folder, import_type) {
81 74
         }
82 75
     }
83 76
 }
84
-
85
-def commitChanges() {
86
-    // Configure Git
87
-    sh """
88
-        git config user.email "jenkins@bizgaze.in"
89
-        git config user.name "jenkinstest"
90
-    """
91
-
92
-    // Check for changes
93
-    sh """
94
-        git pull origin ${env.BRANCH_NAME}
95
-        git add .
96
-        git commit -m "Moved processed XML files to backup"
97
-        git push --force https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
98
-    """
99
-}
100
-

+ 22
- 0
backup/report/Sales Invoice.xml
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 0
- 1
form/Create Route - Form.xml
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


Loading…
Cancelar
Guardar