Add the initial Jenkinsfile for test purpose
[icn.git] / Jenkinsfile
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644 (file)
index 0000000..b7b5c7f
--- /dev/null
@@ -0,0 +1,16 @@
+pipeline {
+    agent any
+    options {
+        skipDefaultCheckout()
+    }
+    environment {
+        changeBranch = "change-${GERRIT_CHANGE_NUMBER}-${GERRIT_PATCHSET_NUMBER}"
+    }
+    stages {
+        stage("Build ISO Image") {
+            steps {
+                echo "refspec: ${GERRIT_REFSPEC}, branch: ${GERRIT_BRANCH}"
+            }
+        }
+    }
+}