Added Jenkinsfile
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 31 Aug 2020 14:56:09 +0000 (16:56 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 31 Aug 2020 14:56:09 +0000 (16:56 +0200)
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Jenkinsfile [new file with mode: 0644]

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644 (file)
index 0000000..049f6e9
--- /dev/null
@@ -0,0 +1,19 @@
+pipeline {
+    agent none
+    stages {
+/*      stage('Test') {
+          agent { dockerfile true }
+            steps {
+                sh 'echo HOLA'
+            }
+        }
+*/
+        stage('Build') {
+            agent any
+            steps {
+                sh 'docker build .'
+                sh 'echo PUBLISH'
+            }
+        }
+    }
+}