-
Notifications
You must be signed in to change notification settings - Fork 227
[WIP] Add Jenkinsfile, facelift and fix build #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
aaf7564
aa4ede4
3ad52ed
0a6fc22
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| buildPlugin(configurations: buildPlugin.recommendedConfigurations()) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,13 +3,20 @@ | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| <parent> | ||
| <artifactId>plugin-manager</artifactId> | ||
| <groupId>jenkins</groupId> | ||
| <groupId>io.jenkins.plugin-management</groupId> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 and for PR3, the package names can renamed during that cleanup |
||
| <artifactId>jenkins-plugin-management-parent-pom</artifactId> | ||
| <version>1.0-SNAPSHOT</version> | ||
| </parent> | ||
| <modelVersion>4.0.0</modelVersion> | ||
|
|
||
| <artifactId>plugin-management-cli</artifactId> | ||
| <artifactId>jenkins-plugin-management-cli</artifactId> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>junit</groupId> | ||
| <artifactId>junit</artifactId> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
|
|
||
| </project> | ||
| </project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import org.junit.Test; | ||
|
|
||
| public class SomeTest { | ||
| @Test | ||
| public void some() { | ||
|
|
||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,14 +4,21 @@ | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
|
|
||
| <groupId>jenkins</groupId> | ||
| <artifactId>plugin-management</artifactId> | ||
| <parent> | ||
| <groupId>org.jenkins-ci</groupId> | ||
| <artifactId>jenkins</artifactId> | ||
| <version>1.51</version> | ||
| </parent> | ||
| <packaging>pom</packaging> | ||
| <groupId>io.jenkins.plugin-management</groupId> | ||
| <artifactId>jenkins-plugin-management-parent-pom</artifactId> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe the new artifact id should match the repository name
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I already merged this. I also thought that the artifactId had to match the repository name, but for the custom war packager it also does not match: https://github.com/jenkinsci/custom-war-packager/blob/master/pom.xml |
||
| <version>1.0-SNAPSHOT</version> | ||
| <properties> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| </properties> | ||
| <modules> | ||
| <module>plugin-management-cli</module> | ||
| <module>plugin-management-library</module> | ||
| </modules> | ||
|
|
||
|
|
||
| </project> | ||
| </project> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is not a plugin, this might not work. I'm ok with adding a Jenkinsfile with the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I was fixing the merge conflicts and ended up merging everything. If this is going to be a problem, I can take it out.