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

Ed Espino commented on MADLIB-1142:
-----------------------------------

If we settle on the repository name (minus .git suffix) for the check out 
sub-directory name, a corresponding shell script change can be made to the 
jenkins_build.sh and rat_check.sh scripts.

> TLP graduation - Update Jenkins build projects
> ----------------------------------------------
>
>                 Key: MADLIB-1142
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1142
>             Project: Apache MADlib
>          Issue Type: Task
>          Components: Build System
>            Reporter: Ed Espino
>             Fix For: v1.12
>
>
> The following Jenkins build projects will need to be updated:
> * https://builds.apache.org/view/M-R/view/MADlib/job/madlib-master-build/
> * https://builds.apache.org/view/M-R/view/MADlib/job/madlib-pr-build/
> The "Check out to a sub-directory" value will need to be updated to reflect 
> the "repository" name (from: incubator-madlib to: madlib) once the repository 
> is officially changed. This will also allow the following to be added as the 
> build command for each project (removing the hard coded references). This 
> will also allow the jenkins_build.sh and rat_check.sh scripts to dynamically 
> determine where the source is located for the builds.
> {code}
> REPONAME=$(basename ${GIT_URL} .git)
> echo "REPONAME: ${REPONAME}"
> /bin/bash ./${REPONAME}/tool/jenkins/jenkins_build.sh
> /bin/bash ./${REPONAME}/tool/jenkins/rat_check.sh
> mkdir -p ${WORKSPACE}/logs/target
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to