Skip to content

Add support for collection of pipeline logs#74

Merged
FlorianVeaux merged 16 commits into
masterfrom
florian/collect_pipeline_logs
Jun 18, 2020
Merged

Add support for collection of pipeline logs#74
FlorianVeaux merged 16 commits into
masterfrom
florian/collect_pipeline_logs

Conversation

@FlorianVeaux

@FlorianVeaux FlorianVeaux commented Jun 12, 2020

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR adds the ability to forward logs emitted by Jenkins Pipelines directly to Datadog.

Description of the Change

This PR adds a TaskListenerDecorator and the relevant tests.

@FlorianVeaux FlorianVeaux added the changelog/Added Added features results into a minor version bump label Jun 12, 2020
@FlorianVeaux FlorianVeaux changed the title Add support for collection pipeline logs Add support for collection of pipeline logs Jun 12, 2020
@FlorianVeaux
FlorianVeaux changed the base branch from pipeline to florian/add_pipeline_deps June 12, 2020 09:29
@FlorianVeaux
FlorianVeaux marked this pull request as draft June 12, 2020 09:29
@FlorianVeaux
FlorianVeaux force-pushed the florian/collect_pipeline_logs branch 2 times, most recently from 46d50d2 to 63744c4 Compare June 15, 2020 13:26
@FlorianVeaux
FlorianVeaux marked this pull request as ready for review June 15, 2020 13:30
@FlorianVeaux
FlorianVeaux changed the base branch from florian/add_pipeline_deps to pipeline June 15, 2020 13:32
@FlorianVeaux
FlorianVeaux changed the base branch from pipeline to florian/add_pipeline_deps June 15, 2020 13:32
@FlorianVeaux
FlorianVeaux force-pushed the florian/collect_pipeline_logs branch from 63744c4 to dfda90d Compare June 15, 2020 13:34
* Add workflow-job dependency

* Update version

* Reuse jenkins.version constant

* Bumpt to 2.164.x

* Set min version to 2.164.1
Base automatically changed from florian/add_pipeline_deps to pipeline June 15, 2020 13:40
Comment thread src/main/java/org/datadog/jenkins/plugins/datadog/logs/DatadogDecorator.java Outdated
@sarah-witt sarah-witt mentioned this pull request Jun 15, 2020
6 tasks

@sarah-witt sarah-witt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Comment thread src/test/java/org/datadog/jenkins/plugins/datadog/logs/LogCollectionTest.java Outdated
@FlorianVeaux
FlorianVeaux force-pushed the florian/collect_pipeline_logs branch from 0988f04 to 5a1642c Compare June 17, 2020 10:40
@FlorianVeaux
FlorianVeaux changed the base branch from pipeline to master June 17, 2020 13:28
@FlorianVeaux
FlorianVeaux merged commit af802ec into master Jun 18, 2020
@FlorianVeaux
FlorianVeaux deleted the florian/collect_pipeline_logs branch June 18, 2020 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/Added Added features results into a minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants