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

Delete SonarCloud addon #24

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ addons:
organization: cjscommonplatform
token:
secure: MPrE0HzubH6Of0OeMlYuB5vEZNVfJE8wZG/iWdVmNHBVWWodEP4sO8s1GggKQk5rrHiSlVXs+G7OIM4X6Kg2HnjUj05G28IpirtkDnCLvIcSqAZxecO21tIBYwHn/mCdihHQOPjA8RFjc8+TSsRDNipeR3QvOzf6g5XZtOV/Ew+p5VoirIbI9jOO/qdOzHuQjZhARmI7HXqEmpkXJiObfyT5uJvO047lSbKA48VLWSfv2zFl5+8uymT+0g8fHPm9JWTNn7VLyKQQ4en7Cr9NC03Ahk8rXybB0qOrHj3fewtUGBp3pCa8bU6XaMFzSNHixueUG2mxxxI9ROB7nz+19CSOGafXZsygjDqPeT8D1wHHGGBmc90WQE3JhU9YFMXKnx5/a8OJyIAGRUE81wt3FsJUu+OvIHdQEOlM7geWYv6P52VbgmJSSvMgRnzNE3seq0LSsFxQXAQmAmDLWwWz0t2wbzO8dUmmU4jn5xoqSe2RBENaD1vDG37rvi8aGrr+Xg2005/8yIvlr+7ZZbeiHdYXqzbiDdYQyGjr8FaJLI3WPBtCRhsvJBgdQhuMFI/V44ntwAP6CzOty9Gfldlp+ybaY9UcFSKbGxBcrHPJfsS2ajgPUjW1K8KBFc7IKfy/XWhBsWOEHgVb2n4AZSV/nFTpK4HwpvHid0bEHcyTpk8=
github_token:
secure: CZAEIt+cZXQKh/q0gAyTGi2ypJA2OHRp2gKD/p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lbxpBezHZLLADnQ+zNb9B+KdkA1Lo9BFu7zvlHaO9kXjxJgWs2DOOzW0zzeBDk+ysG80GBFPJBCfHxaXxQsKNGfZxnBocGDCGwDSvfs9faDnXu7u0KLMmJBabx/HtbR8qJkNUMwA+iVPkNM2RyVfEPNZHwZfu2wB+Oo9XVX0nM4sxvbRkir2RqulafK7ZWOFLl5tmmdISj1LZ/d8mVTBeA+BFe8AsfO9b+d6CBQbVGGq8Wn4i84khbFCIH30/wDMiURU4XQT+5Q=
before_install:
- git clone https://github.com/CJSCommonPlatform/travis-settings.git target/travis-settings
- ln -sfT ${PWD}/target/travis-settings/settings.xml ${HOME}/.m2/settings.xml
- ln -sfT ${PWD}/target/travis-settings/mvnw mvnw
- ln -sft ${PWD} ${PWD}/target/travis-settings/.mvn
install: "${PWD}/target/travis-settings/java/install.sh -e -q -DexcludeGroupIds=uk.gov.justice.service,uk.gov.justice.services"
script: "${PWD}/target/travis-settings/java/script-install.sh coveralls:report sonar:sonar"
script:
#"${PWD}/target/travis-settings/java/script-install.sh coveralls:report sonar:sonar"
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
after_success: "${PWD}/target/travis-settings/java/after_success.sh"
notifications:
slack:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sun.rmi.runtime.Log;

public class DodgyClass {

private static final Logger LOGGER = LoggerFactory.getLogger(DodgyClass.class);

public String dodgyString = "dodgy";

private void dodgyMethod() {
System.out.println("Hello");
LOGGER.info("Hello: " + dodgyString);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ private void invokeShuttering(final boolean isShutteringRequired) throws IOExcep
}
}


private String addRecipe(final String cakeName) {
final String recipeId = randomUUID().toString();
commandSender.addRecipe(recipeId, cakeName);
Expand Down