Skip to content

Commit

Permalink
Merge pull request #32 from checkmarx-ltd/develop
Browse files Browse the repository at this point in the history
Merge Develop into Master
  • Loading branch information
NimrodGolan authored Dec 10, 2020
2 parents 674c1b9 + bc0772f commit 6d17406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.github.checkmarx-ltd</groupId>
<artifactId>cx-spring-boot-sdk</artifactId>
<version>0.4.63</version>
<version>0.4.64</version>
<name>cx-spring-boot-sdk</name>
<description>Checkmarx Java Spring Boot SDK</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public String prepareRepoFile(CxScanParams params) throws CheckmarxException {
log.debug("Using gitlab clone");
token = token.replace("oauth2:","");
gitURL = gitURL.replace(uri.getUserInfo(), "gitlab-ci-token:".concat(token));
credentialsProvider = new UsernamePasswordCredentialsProvider("user", token);
credentialsProvider = new UsernamePasswordCredentialsProvider("oauth2", token);
}
else if(token.contains(":")){
String[] userDetails = token.split(":");
Expand Down

0 comments on commit 6d17406

Please sign in to comment.