Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

[JENKINS-33256] Calling SCMSource.getTrustedRevision #244

Merged
merged 4 commits into from
Mar 11, 2016

Conversation

jglick
Copy link
Member

@jglick jglick commented Nov 6, 2015

Downstream of jenkinsci/scm-api-plugin#5.

@reviewbybees esp. @stephenc

@ghost
Copy link

ghost commented Nov 6, 2015

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@stephenc
Copy link
Member

stephenc commented Nov 6, 2015

🐝

1 similar comment
@recena
Copy link
Contributor

recena commented Nov 15, 2015

🐝

@KostyaSha
Copy link
Member

Status?

@jglick
Copy link
Member Author

jglick commented Jan 7, 2016

I ran out of time to try using the new API and confirm that it solves the problem. On my list.

@KostyaSha
Copy link
Member

@jglick i see no examples or description of supporting multibranches

@jglick
Copy link
Member Author

jglick commented Jan 7, 2016

Because the proposed usage is in a plugin which is currently not OSS.

@jglick jglick changed the title Calling SCMSource.getTrustedRevision [JENKINS-33256] Calling SCMSource.getTrustedRevision Mar 2, 2016
@kzantow
Copy link
Contributor

kzantow commented Mar 10, 2016

🐝

@jglick
Copy link
Member Author

jglick commented Mar 10, 2016

@reviewbybees done

(but pointless to merge unless and until jenkinsci/github-branch-source-plugin#29 is)

@jglick
Copy link
Member Author

jglick commented Mar 10, 2016

Actually I take that back—Pipeline has a more heavyweight release process so there might be a timing advantage in having this released earlier. Also I know of at least one other SCMSource which might be able to take advantage of this (@amuniz). The patch should be safe enough since getTrustedRevision defaults to just returning its argument, so the worst that can happen is that the API turns out to be not as useful as originally thought and must be deprecated.

An scm-api 1.1 release is a prerequisite, though.

jglick added a commit that referenced this pull request Mar 11, 2016
[JENKINS-33256] Calling SCMSource.getTrustedRevision
@jglick jglick merged commit 76bdc6f into jenkinsci:master Mar 11, 2016
@jglick jglick deleted the getTrustedRevision branch March 11, 2016 00:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants