Tags: gmccue/igor
Tags
fix(jenkins): don't mistake the queue id for the job number (spinnake… …r#337) Orca runs MonitorQueuedJenkinsJobTask until the number is not null and then uses that in MonitorJenkinsJobTask. Returning the id in QueuedJob results in the wrong number stored in the context and MonitorJenkinsJobTask then gets 404s back from Jenkins.
fix(jenkins): don't error out on queue item responses with missing fi… …eld (spinnaker#336) * fix(jenkins): don't error out on queue item responses with missing field We don't want to throw an NPE if there is no `executable` element in the response. I noticed this element now seems to correspond to `id` so use that as a fallback if we can.
fix(jenkins): replace SimpleXML with Jackson for XML deserialization (s… …pinnaker#333) * fix(jenkins): replace SimpleXML with Jackson for XML deserialization I am now suspecting that SimpleXMLConverter is responsible for the leaked connections. I haven't witnessed any leaked connections anymore after switching to Jackson. Switch from SimpleXML to mostly JAXB annotations, with a few Jackson annotations when it seemed necessary (for unwrapped collections). This is one step closer to moving off of SimpleXML (deprecated in retrofit2) and should make it easier to switch serializations implementations in the future. It seems we can get undeterministic ordering of sibling which should not be a big deal but breaks some unit tests that depend on an exact string output, so only check the semantic values of the response, not the ordering of the elements
fix(travis): grace period before triggering with new travis builds * fix(travis): grace period before triggering with new travis builds The travis api needs some time after a build is finished in order to have the build data present in the apis. * Make new build grace period configurable * suffix with seconds * add seconds to comment as well
fix(jenkins): try to be better at closing input streams (spinnaker#332)
feat(core): Apply artifact filtering in Igor (spinnaker#321) * feat(core): Apply artifact filtering in Igor BREAKING CHANGE: This is a breaking change for users who have manually set BuildArtifactFilter.maxArtifacts or BuildArtifactFilter.preferredArtifacts as environment variables to Orca. As the filtering logic is being moved to Igor, these environment variables need to be set on the Igor process. This change will also cause the results of calling the Gate endpoint "/v2/builds/..." to get build status to return a filtered list of artifacts. All current calls to get the build info for a particular build post-process by filtering the artifacts with BuildArtifactFilter. Rather than require all callers to post-process, move this logic from Orca to Igor so that the API returns already-filtered artifacts. * refactor(core): Convert artifact filtering to Java
feat(core): Apply artifact filtering in Igor (spinnaker#321) * feat(core): Apply artifact filtering in Igor BREAKING CHANGE: This is a breaking change for users who have manually set BuildArtifactFilter.maxArtifacts or BuildArtifactFilter.preferredArtifacts as environment variables to Orca. As the filtering logic is being moved to Igor, these environment variables need to be set on the Igor process. This change will also cause the results of calling the Gate endpoint "/v2/builds/..." to get build status to return a filtered list of artifacts. All current calls to get the build info for a particular build post-process by filtering the artifacts with BuildArtifactFilter. Rather than require all callers to post-process, move this logic from Orca to Igor so that the API returns already-filtered artifacts. * refactor(core): Convert artifact filtering to Java
feat(core): Apply artifact filtering in Igor (spinnaker#321) * feat(core): Apply artifact filtering in Igor BREAKING CHANGE: This is a breaking change for users who have manually set BuildArtifactFilter.maxArtifacts or BuildArtifactFilter.preferredArtifacts as environment variables to Orca. As the filtering logic is being moved to Igor, these environment variables need to be set on the Igor process. This change will also cause the results of calling the Gate endpoint "/v2/builds/..." to get build status to return a filtered list of artifacts. All current calls to get the build info for a particular build post-process by filtering the artifacts with BuildArtifactFilter. Rather than require all callers to post-process, move this logic from Orca to Igor so that the API returns already-filtered artifacts. * refactor(core): Convert artifact filtering to Java
PreviousNext