Adding ai-code-review plugin to agent-mvn projects list.
Converting ai-code-review yaml to match the other mvn projects
as it appears that the verifier job is automatically added for
this type ( doesn't need specified in the gerrit-mvn-plugin-XX.yaml ).
Change-Id: Ifd214eaf8ec163e93416fdb9cd91273a9493f904
diff --git a/jenkins-docker/agent-mvn/Dockerfile b/jenkins-docker/agent-mvn/Dockerfile
index 0448ff7..0241100 100644
--- a/jenkins-docker/agent-mvn/Dockerfile
+++ b/jenkins-docker/agent-mvn/Dockerfile
@@ -9,7 +9,8 @@
egit \
github \
imagare \
- manifest-subscription
+ manifest-subscription \
+ ai-code-review
# Maven cache warm-up for Gerrit plugins
RUN export HOME=/home/jenkins && for prj in $PROJECTS; do cd /tmp && git clone $GERRIT_URL/$prj && cd $prj && ( mvn clean install || true ); rm -Rf /tmp/$prj; done
diff --git a/jenkins/gerrit-mvn-plugin-ai-code-review.yaml b/jenkins/gerrit-mvn-plugin-ai-code-review.yaml
index 19b6491..722e927 100644
--- a/jenkins/gerrit-mvn-plugin-ai-code-review.yaml
+++ b/jenkins/gerrit-mvn-plugin-ai-code-review.yaml
@@ -1,8 +1,7 @@
- project:
- name: ai-code-review-mvn
- repo: ai-code-review
- jobs:
- - 'plugin-{repo}-mvn-{branch}':
- branch:
- - master
- - 'plugin-{name}-verifier'
+ name: ai-code-review-mvn
+ repo: ai-code-review
+ branch:
+ - master
+ jobs:
+ - 'plugin-{repo}-mvn-{branch}'