jenkins-job-builder fails to test when hipchat plugin is used
Bug #1366063 reported by
Yolanda Robla
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Fix Committed
|
Undecided
|
Yolanda Robla |
Bug Description
When testing syntax using jenkins-
logger.fatal("The configuration file needs a hipchat section" +
" containing authtoken:
This is due when testing on an instance that doesn't have an ini file defined, or the ini file doesn't have hipchat section. As we are just testing, test should have to ignore it and perform the right test, supposing section will be enabled. If not, it needs to specifically pass a dummy config file with the section to jenkins-job-builder call, this makes testing more complex.
Changed in openstack-ci: | |
assignee: | nobody → Yolanda Robla (yolanda.robla) |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/119307 /git.openstack. org/cgit/ openstack- infra/jenkins- job-builder/ commit/ ?id=0b6b095dc02 c7d26749e0f5f02 eb4590acdde269
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0b6b095dc02c7d2 6749e0f5f02eb45 90acdde269
Author: Yolanda Robla <email address hidden>
Date: Fri Sep 5 09:37:17 2014 +0200
Enable hipchat section into sample file
Current sample file lacks section about hipchat. Add section
with dummy token to show hipchat usage.
Added that into default config file for cmd.py, that is the
one used for testing. This will allow to properly test
jobs with hipchat module enabled.
Closes-Bug: #1366063
Change-Id: If511486a69113a 4b4300cdb360215 4ef261bc18a