-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins version 2.121.1
Plugin version 1.13
When you just call notifyBitbucket() in a declarative pipeline you get:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 35: Missing required parameter: "stashServerBaseUrl" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "credentialsId" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "ignoreUnverifiedSSLPeer" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "commitSha1" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "includeBuildNumberInKey" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "projectKey" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "prependParentProjectKey" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "disableInprogressNotification" @ line 35, column 17. notifyBitbucket() ^ WorkflowScript: 35: Missing required parameter: "considerUnstableAsSuccess" @ line 35, column 17. notifyBitbucket() ^
On the other hand, step([$class: 'StashNotifier']) is working perfectly fine!
- is related to
-
JENKINS-39948 add support for nicer pipeline syntax with bitbucket alias
- Closed