Browse Source

Testing Jenkinsfile

master
Johann Schmitz 11 months ago
parent
commit
8f508dfb8c
1 changed files with 23 additions and 0 deletions
  1. 23
    0
      Jenkinsfile

+ 23
- 0
Jenkinsfile View File

@@ -0,0 +1,23 @@
1
+node('docker') {
2
+
3
+    stage('Checkout') {
4
+        git 'https://git.ercpe.de/ercpe/smart-check.git'
5
+    }
6
+
7
+    stage('CI') {
8
+        docker.withRegistry('https://r.ercpe.de', 'docker-registry') {
9
+            docker.image('r.ercpe.de/ercpe/python-build:latest').inside {
10
+                sh "make jenkins"
11
+            }
12
+        }
13
+    }
14
+
15
+    stage('Debian packaging') {
16
+        docker.withRegistry('https://r.ercpe.de', 'docker-registry') {
17
+            docker.image('r.ercpe.de/ercpe/ubuntu-build:latest').inside {
18
+                sh "make deb"
19
+            }
20
+        }
21
+    }
22
+
23
+}

Loading…
Cancel
Save