Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "githubPush" declarative pipeline trigger #166

Merged

Conversation

ruckserve
Copy link
Contributor

@ruckserve ruckserve commented Feb 23, 2017

There is currently no way to add this trigger to a declarative syntax pipeline. This adds support to define a Jenkinsfile as:

pipeline {
    agent any
    triggers {
        githubPush()
    }

    stages {
         // ...
    }
}

This change is Reviewable

@lanwen lanwen merged commit 1443b98 into jenkinsci:master Feb 26, 2017
@lanwen
Copy link
Member

lanwen commented Feb 26, 2017

thx!

@lanwen
Copy link
Member

lanwen commented Feb 26, 2017

released as 1.26.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants