[ 
https://issues.apache.org/jira/browse/HBASE-22167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809916#comment-16809916
 ] 

Duo Zhang commented on HBASE-22167:
-----------------------------------

You can see the if here

https://github.com/apache/hbase/blob/master/dev-support/Jenkinsfile_GitHub#L104

{code}
                        if [[ -n "${JIRA_ISSUE_KEY}" ]]; then
                            YETUS_ARGS+=("${JIRA_ISSUE_KEY}")
                        elif [[ -z "${CHANGE_URL}" ]]; then
                            echo "Full build skipped" > 
"${WORKSPACE}/${PATCHDIR}/report.html"
                            exit 0
                        fi
{code}

If we go into the last branch then we are running a nightly build. So I think 
it is possible to unify them together, FWIW, we can copy paste all the scripts 
in the old Jenkinsfile into the last condition branch...

> Unify the new github based pre commit job and our nightly job
> -------------------------------------------------------------
>
>                 Key: HBASE-22167
>                 URL: https://issues.apache.org/jira/browse/HBASE-22167
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Priority: Major
>
> Now we use two jenkins files and set up two jobs on jenkins. They both use 
> yetus and seems yetus 0.9.0 can have a PR tab and a branch tab in the same 
> job. So we can unify them together.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to