[JIRA] (JENKINS-61119) Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API
Title: Message Title Daniel Steiert commented on JENKINS-61119 Re: Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API We have the same problem. Where is the bump button? Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204634.1582018032000.4788.1583324040266%40Atlassian.JIRA.
[JIRA] (JENKINS-61119) Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API
Title: Message Title Daniel Steiert commented on JENKINS-61119 Re: Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API Joseph Petersen, I updated the link to reflect that fact. The linking was saying this ticket block JENKINS-26535, which is not the way it should be I guess, correct? Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204634.1582018032000.4770.1583323680378%40Atlassian.JIRA.
[JIRA] (JENKINS-61119) Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API
Title: Message Title Daniel Steiert edited a comment on JENKINS-61119 Re: Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API [~casz], I updated the link to reflect that fact. The linking was saying this ticket block blocks JENKINS-26535, which is not the way it should be I guess, correct? Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204634.1582018032000.4776.1583323680470%40Atlassian.JIRA.
[JIRA] (JENKINS-61119) Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API
Title: Message Title Joseph Petersen commented on JENKINS-61119 Re: Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API is blocked by JENKINS-26535 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204634.1582018032000.7160.1582727100201%40Atlassian.JIRA.
[JIRA] (JENKINS-61119) Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API
Title: Message Title Robin Jansohn commented on JENKINS-61119 Re: Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API I'll second this request. Something is still broken... Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204634.1582018032000.7063.1582720920564%40Atlassian.JIRA.
[JIRA] (JENKINS-61119) Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API
Title: Message Title Robin Smith created an issue Jenkins / JENKINS-61119 Cannot configure Bitbucket ForkPullRequestDiscoveryTrait by using Job DSL dynamic API Issue Type: Bug Assignee: Daniel Spilker Components: bitbucket-branch-source-plugin, job-dsl-plugin Created: 2020-02-18 09:27 Environment: Jenkins 2.176.1 Job DSL 1.76 Bitbucket Branch Source 2.7.0 Priority: Major Reporter: Robin Smith Bitbucket Branch Source plugin has introduced unique symbols, so we are able to configure traits by using Job DSL dynamic API instead of configure block. Unfortunately, ForkPullRequestDiscoveryTrait (bitbucketForkDiscovery) is unavailable. For now the only possible option is to still use configure block: branchSources { branchSource { source { bitbucket { bitbucketServerUrl('https://stash.server.org') credentialsId('bitbucket-credentials') repoOwner('TEST') repository('test-repo') traits { bitbucketBranchDiscovery { strategyId(1) } bitbucketPullRequestDiscovery { strategyId(2) } } } } } } } configure { def traits = it / sources / data / 'jenkins.branch.BranchSource' / source / traits traits << 'com.cloudbees.jenkins.plugins.bitbucket.ForkPullRequestDiscoveryTrait' { strategyId(2) } } List of available traits in Job DSL Dynamic API Viewer: