Revert "Fix account-gh plugin info step writing to wrong path" This reverts commit 693725dedb3baa06856a295ef559bd5d37b19335. Reason for revert: Broke all other builds Change-Id: I851c46a13dc2e276206c82938fb2222c19777821
diff --git a/jenkins/gerrit-bazel-get-project-info.sh b/jenkins/gerrit-bazel-get-project-info.sh index 03db840..0d73696 100755 --- a/jenkins/gerrit-bazel-get-project-info.sh +++ b/jenkins/gerrit-bazel-get-project-info.sh
@@ -1,5 +1,5 @@ #!/bin/bash -e -curl -L https://{project-info-host}/projects/{project-info-name}/config | \ - tail -n +2 > bazel-bin/plugins/{project-info-output}/{project-info-output}.json +curl -L https://gerrit-review.googlesource.com/projects/{class}%2F{name}/config | \ + tail -n +2 > bazel-bin/plugins/{name}/{name}.json
diff --git a/jenkins/gerrit-bazel-plugin-account.yaml b/jenkins/gerrit-bazel-plugin-account.yaml index 1bd2371..1f6c54f 100644 --- a/jenkins/gerrit-bazel-plugin-account.yaml +++ b/jenkins/gerrit-bazel-plugin-account.yaml
@@ -6,9 +6,6 @@ node: bazel-debian class: plugins project-name: plugins%2Faccount - project-info-host: review.gerrithub.io - project-info-name: GerritForge%2Faccount - project-info-output: account scm: - git: remotes:
diff --git a/jenkins/gerrit-bazel-plugin-gh-template.yaml b/jenkins/gerrit-bazel-plugin-gh-template.yaml index 6d3dd3f..01d2a2e 100644 --- a/jenkins/gerrit-bazel-plugin-gh-template.yaml +++ b/jenkins/gerrit-bazel-plugin-gh-template.yaml
@@ -1,9 +1,6 @@ - defaults: name: plugin-gh-template targets: 'plugins/{name}:{name}' - project-info-host: review.gerrithub.io - project-info-name: '{organization}%2F{repo}' - project-info-output: '{repo}' node: bazel-debian wrappers: - timeout:
diff --git a/jenkins/gerrit-bazel-plugin-gitblit.yaml b/jenkins/gerrit-bazel-plugin-gitblit.yaml index 6ffc0ea..e16ca56 100644 --- a/jenkins/gerrit-bazel-plugin-gitblit.yaml +++ b/jenkins/gerrit-bazel-plugin-gitblit.yaml
@@ -1,8 +1,5 @@ - defaults: name: 'plugin-gitblit' - project-info-host: gerrit-review.googlesource.com - project-info-name: '{class}%2F{name}' - project-info-output: '{name}' wrappers: - timeout: timeout: 30
diff --git a/jenkins/gerrit-bazel-plugin-template.yaml b/jenkins/gerrit-bazel-plugin-template.yaml index 62c131b..3a4f23b 100644 --- a/jenkins/gerrit-bazel-plugin-template.yaml +++ b/jenkins/gerrit-bazel-plugin-template.yaml
@@ -1,9 +1,6 @@ - defaults: name: plugin-template-bazel targets: 'plugins/{name}:{name}' - project-info-host: gerrit-review.googlesource.com - project-info-name: '{class}%2F{name}' - project-info-output: '{name}' node: bazel-debian wrappers: - timeout: