Skip to content
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

[JENKINS-35411] Migrate batch-task-plugin to 2.x parent pom #5

Merged
merged 1 commit into from
Jun 7, 2016

Conversation

fbelzunc
Copy link
Contributor

@fbelzunc fbelzunc commented Jun 7, 2016

@reviewbybees CC @andresrc @armfergom

@@ -27,13 +34,22 @@
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>

Choose a reason for hiding this comment

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

This, I think, can be removed since it is defined in the parent POM

@andresrc
Copy link

andresrc commented Jun 7, 2016

🐝

freeStyleProject.addProperty(new BatchTaskProperty(task));
HtmlPage page = r.createWebClient().getPage(freeStyleProject, "batchTasks/task/test/execute");
String path = page.getWebResponse().getWebRequest().getUrl().getPath();
assertTrue("should redirect to noBuilds page: " + path, path.endsWith("/noBuild"));

Choose a reason for hiding this comment

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

Does this test do the same as the one originally written in Groovy? Specially the first part up until the first assertTrue

@armfergom
Copy link

LGTM. Just one question pending and one comment to address.

@armfergom
Copy link

armfergom commented Jun 7, 2016

🐝 although would be good to not ignore findbugs at some point

"Windbags", damned spell checker! It has happened to me as well :)

@fbelzunc
Copy link
Contributor Author

fbelzunc commented Jun 7, 2016

@reviewbybees done

@fbelzunc fbelzunc merged commit ec3d5cf into jenkinsci:master Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants