Skip to content

Fix null credentialsId passed to GitSCM when authentication is userna…

GitHub Advanced Security / CodeQL succeeded Nov 26, 2024 in 6s

113 new alerts

New alerts in code changed by this pull request

  • 113 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 109 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getBitbucketServerUrl
should be avoided because it has been deprecated.

Check notice on line 110 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getCheckoutCredentialsId
should be avoided because it has been deprecated.

Check notice on line 111 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getIncludes
should be avoided because it has been deprecated.

Check notice on line 112 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getExcludes
should be avoided because it has been deprecated.

Check notice on line 113 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.isAutoRegisterHook
should be avoided because it has been deprecated.

Check notice on line 131 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getBitbucketServerUrl
should be avoided because it has been deprecated.

Check notice on line 132 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getCheckoutCredentialsId
should be avoided because it has been deprecated.

Check notice on line 133 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getIncludes
should be avoided because it has been deprecated.

Check notice on line 134 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getExcludes
should be avoided because it has been deprecated.

Check notice on line 135 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.isAutoRegisterHook
should be avoided because it has been deprecated.

Check notice on line 154 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getBitbucketServerUrl
should be avoided because it has been deprecated.

Check notice on line 155 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getCheckoutCredentialsId
should be avoided because it has been deprecated.

Check notice on line 156 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getIncludes
should be avoided because it has been deprecated.

Check notice on line 157 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getExcludes
should be avoided because it has been deprecated.

Check notice on line 158 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.isAutoRegisterHook
should be avoided because it has been deprecated.

Check notice on line 177 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getBitbucketServerUrl
should be avoided because it has been deprecated.

Check notice on line 178 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getCheckoutCredentialsId
should be avoided because it has been deprecated.

Check notice on line 179 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getIncludes
should be avoided because it has been deprecated.

Check notice on line 180 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getExcludes
should be avoided because it has been deprecated.

Check notice on line 181 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.isAutoRegisterHook
should be avoided because it has been deprecated.

Check notice on line 201 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getBitbucketServerUrl
should be avoided because it has been deprecated.

Check notice on line 202 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getCheckoutCredentialsId
should be avoided because it has been deprecated.

Check notice on line 203 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getIncludes
should be avoided because it has been deprecated.

Check notice on line 204 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.getExcludes
should be avoided because it has been deprecated.

Check notice on line 205 in src/test/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceTest.java

See this annotation in the file changed.

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
BitbucketSCMSource.isAutoRegisterHook
should be avoided because it has been deprecated.