Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pipeline step #74

Merged
merged 16 commits into from
Aug 22, 2019
Merged

Pipeline step #74

merged 16 commits into from
Aug 22, 2019

Conversation

asimell
Copy link
Contributor

@asimell asimell commented Aug 22, 2019

Refactor support for pipelines by introducing a InfluxDbStep class. This enables the plugin to access environment variables set by other pipeline blocks, such as withSonarQubeEnv.

For clarity, move the contents of DescriptorImpl.java into InfluxDbPublisher and remove the original DescriptorImpl class. Can cause compatibility issues when creating new targets in pipeline jobs. New targets need to be set with Jenkins.instance.getDescriptorByType(jenkinsci.plugins.influxdb.InfluxDbStep.DescriptorImpl).

Introduce InfluxDbGlobalConfig to handle the global configurations for both the pipeline and traditional jobs. This causes a compatibility issue with JCASC. Instead of influxDbPublisher, the configuration file needs to have influxDbGlobalConfig .

@asimell asimell merged commit ac74da0 into development Aug 22, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants