Add Jenkins verify job for common ASN.1 library
Only need verify, not merge, because no image is pushed.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I53fe7b89f9bf1fa1844c89eb6c2ed589033b545b
diff --git a/jjb/com-asn1/com-asn1.yaml b/jjb/com-asn1/com-asn1.yaml
new file mode 100644
index 0000000..cf24a8c
--- /dev/null
+++ b/jjb/com-asn1/com-asn1.yaml
@@ -0,0 +1,40 @@
+---
+- project:
+ name: com-asn1-project-view
+ project-name: com-asn1
+ views:
+ - project-view
+
+- asn1_docker_common: &asn1_docker_common
+ # values apply to all RIC docker-build projects.
+ # factored out in case this needs multiple projects.
+ # use a specific name to prevent reuse attempts
+ # bcos anchors don't cross document boundaries.
+ name: asn1-docker-common
+ build-node: ubuntu1804-docker-4c-4g
+ # pull from the public mirror + releases registry
+ container-public-registry: nexus3.o-ran-sc.org:10001
+ # push to the staging repo bcos all builds are RCs
+ container-push-registry: nexus3.o-ran-sc.org:10004
+ # use host network to clone from our gerrit
+ docker-build-args: '--network=host'
+ # source of docker tag
+ docker-use-params-from: yaml-file-params
+ stream:
+ - master:
+ branch: master
+
+- project:
+ name: com-asn1
+ # git repo
+ project: com/asn1
+ # jenkins job name prefix
+ project-name: '{name}'
+ # image name
+ docker-name: '{name}'
+ # maven settings file has docker credentials
+ mvn-settings: com-asn1-settings
+ jobs:
+ # verify only; no merge bcos no image is pushed
+ - gerrit-docker-verify
+ <<: *asn1_docker_common