]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-build-pull-requests: ping jjb to 2.10.1 1354/head
authorKefu Chai <kchai@redhat.com>
Fri, 26 Jul 2019 12:39:55 +0000 (20:39 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 26 Jul 2019 13:19:48 +0000 (21:19 +0800)
commit647f72e2b29943bb37f5f6592b935d5e89c23dba
tree0534e464c31ae5ca1d6146f5587cbc4c8e545105
parent203a503ced451041ba4e5b73cf87b15c306d1f02
ceph-build-pull-requests: ping jjb to 2.10.1

jjb 3.0 brings some incompatible behavior:

* it tries to expand the strings like ${FOO} using the parameters,
  so if we continue using include-raw, jjb test will fail like

```
Failure formatting job
....
ERROR:root:Failure formatting job '{
with itself
Traceback (most recent call last):
...
  File
"/tmp/venv.Pa7CUfDCFK/local/lib/python2.7/site-packages/jenkins_jobs/formatter.py",
line 43, in deep_format
    raise JenkinsJobsException(desc)
jenkins_jobs.errors.JenkinsJobsException:
...
...
TEMPVENV=$(mktemp -td venv.XXXXXXXXXX)
```
* also, it fails to pass down some parameters to the build job, for
  instance, the `WORKSPACE` is not passed anymore.

both these change break the "test" job, as we are using `include-raw`
everywhere, and we also use `${WORKSAPCE}` in some yml files.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-build-pull-requests/build/build