Comments (3)
Hello @sstojak1! I'm here to help you with any bugs, questions, or contributions you have for the project. Let's work together to resolve the issue you've encountered.
To ensure that the hudson.maven.MavenModuleSet
Jenkins project type is not incorrectly categorized as a group instead of a scope in DevLake version v1.0.0-beta11, you need to correctly configure the scope in the scope_config_api.go
file.
Here is an example of how you can create a scope configuration for Jenkins:
func CreateScopeConfig(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error) {
return dsHelper.ScopeConfigApi.Post(input)
}
Ensure that the scopeConfig
parameter in the CreateScopeConfig
function correctly identifies hudson.maven.MavenModuleSet
as a scope. This involves setting the appropriate fields in the models.JenkinsScopeConfig
structure.
Example of defining the JenkinsScopeConfig
model:
package models
type JenkinsScopeConfig struct {
ID int `json:"id"`
ConnectionId int `json:"connectionId"`
ScopeType string `json:"scopeType"` // Ensure this field correctly identifies the scope type
ScopeName string `json:"scopeName"`
// Add other necessary fields
}
Ensure the ScopeType
field correctly identifies hudson.maven.MavenModuleSet
as a scope. This way, when you create or update a scope configuration, it will be correctly categorized.
Example usage:
{
"connectionId": 1,
"scopeType": "hudson.maven.MavenModuleSet",
"scopeName": "My Maven Project"
}
Additionally, according to the DevLake domain layer schema, Jenkins jobs are categorized under the CI/CD domain as cicd_scopes
. Ensure that hudson.maven.MavenModuleSet
is correctly mapped to a cicd_scope
in the domain layer schema:
#### cicd_scopes
The entity to filter or group 'cicd_pipelines'.
- For Jenkins: a Jenkins job is converted to a cicd_scope
By following these steps, you can ensure that hudson.maven.MavenModuleSet
is correctly categorized as a scope in DevLake [1][2].
To continue talking to Dosu, mention @dosu.
from incubator-devlake.
Lovely
from incubator-devlake.
I like the report-and-fix vibe here. 👍
from incubator-devlake.
Related Issues (20)
- [Question][Grafana] Grafana Permission Error HOT 6
- [Bug][Task Jira] Request timeout collecting Jira metrics HOT 2
- [Bug][gitextractor] Error running pipeline beta7 bitbucket server HOT 3
- [Feature][Azure Devops] Being able to use tags of pipeline to retrieve deployments for DORA HOT 1
- [Bug][API] Team configuration fail to update using API HOT 5
- [Bug][gitextractor] subtask Clone Git Repo ended unexpectedly HOT 26
- [Feature][Config UI] Can not distinguish the re-transformation pipelines from pipeline history
- [Bug][Github] GraphQL collector fails on transferred issues HOT 3
- [Feature][Webhook] When closing an issue, update the `resolution_date` with the current timestamp
- [Bug][Dashboard] Change Failure Rate Metric Different between Dashboards HOT 2
- [Feature][devlake] mysql connection config from environment variables
- [Feature][config-ui] usermanagement with different roles HOT 1
- [Database][DORA] : db query error: Error 1054: Unknown column 'db.dora_report' in 'where clause' HOT 4
- [Question][Module Name] Deployments from prior year are not detected HOT 1
- [Question][config-ui] devlake admin background suddenly prompts [New Migration Scripts Detected] HOT 10
- [Bug][Customize] customize plugin doesn't recognize array type HOT 4
- [Bug][config UI] removing webhook from project deletes the webhook entirely HOT 5
- [Feature][Runner] When a re-transformation is triggered, pipeline runner doesn't need to connection to data source' API.
- [Bug][GiLab] child pipelines are not collected
- [Question][external Grafana] won't create dora dashboard. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-devlake.