[jira] [Created] (LUCENE-4187) remove nightly/ directory under svn

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
Robert Muir created LUCENE-4187:
-----------------------------------

             Summary: remove nightly/ directory under svn
                 Key: LUCENE-4187
                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
             Project: Lucene - Java
          Issue Type: Task
          Components: general/build
            Reporter: Robert Muir


I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.

I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.

I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.

For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org

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

Dawid Weiss commented on LUCENE-4187:
-------------------------------------

Since we're using ivy anyway lots of scripting opportunities open up (may be much much simpler to implement something in jython/ ruby/ beanshell/ groovy/ whatever than as an ANT task).
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Uwe Schindler commented on LUCENE-4187:
---------------------------------------

Robert: Thaks for opening the issue. The windows builds are already also pure ant builds.

I will start with the half-hourly builds. The nightlies are more complicated because they also copy artifacts outside the checkout tree, so also requires reconfiguring jenkins javadocs and artifact archival.
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Dawid Weiss commented on LUCENE-4187:
-------------------------------------

In general +10 for the idea -- this is important not only for jenkins but for any build system (I myself use atlassian bamboo).
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Robert Muir commented on LUCENE-4187:
-------------------------------------

+1, lets get those fixed first. Then anyone can easily setup a jenkins to run tests + checks
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Robert Muir commented on LUCENE-4187:
-------------------------------------

and also you could use the 'ant jenkins' locally when you want to run these checks yourself. this is not really easy today (i run ant clean test javadocs-lint rat-sources or something like that)
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Uwe Schindler commented on LUCENE-4187:
---------------------------------------

I also ported the Maven build to use a 4 step freestyle build:
- Delete ~/.m2/** artifacts from Solr/Lucene, print Java version (shell task)
- Invoke ANT 1.8.2 with target "generate-maven-artifacts"
- Invoke Maven 2.2.1 with "install" as goal (including -fae parameter)
- finally invoke ANT 1.8.2 again with "generate-maven-artifacts" as target, supplying the Apache snapshot repository ID as upload target

The nightly subdir was nuked in rev. 1372209
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.0
>
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Dawid Weiss commented on LUCENE-4187:
-------------------------------------

bq. Delete ~/.m2/** artifacts from Solr/Lucene, print Java version (shell task)

Is there a way not to remove everything from there? I have custom settings under there that I really would hate to see accidentally removed.
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.0
>
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Uwe Schindler commented on LUCENE-4187:
---------------------------------------

It only nukes the artifacts nothing else, this is step 1 of this build:
{noformat}
echo "Using JDK in $JAVA_HOME"
"$JAVA_HOME/bin/java" -version
echo "Removing artifacts from local maven repository"
rm -rf "$HOME/.m2/repository/org/apache/lucene" "$HOME/.m2/repository/org/apache/solr"
{noformat}
               

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.0
>
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (LUCENE-4187) remove nightly/ directory under svn

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Uwe Schindler edited comment on LUCENE-4187 at 8/13/12 11:45 PM:
-----------------------------------------------------------------

It only nukes the artifacts nothing else, this is step 1 of this build:
{noformat}
echo "Using JDK in $JAVA_HOME"
"$JAVA_HOME/bin/java" -version
echo "Removing artifacts from local maven repository"
rm -rf "$HOME/.m2/repository/org/apache/lucene" "$HOME/.m2/repository/org/apache/solr"
{noformat}
(and this is local to this Jenkins Job, apache specific, it is not in any build.xml)
               
      was (Author: thetaphi):
    It only nukes the artifacts nothing else, this is step 1 of this build:
{noformat}
echo "Using JDK in $JAVA_HOME"
"$JAVA_HOME/bin/java" -version
echo "Removing artifacts from local maven repository"
rm -rf "$HOME/.m2/repository/org/apache/lucene" "$HOME/.m2/repository/org/apache/solr"
{noformat}
                 

> remove nightly/ directory under svn
> -----------------------------------
>
>                 Key: LUCENE-4187
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4187
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.0
>
>
> I setup a jenkins while i was on vacation, it was really easy to just tell it to run an ant task.
> I don't like this second set of shell scripts we have: its not portable to windows and harder to setup. We should make it dead easy to setup a jenkins if someone feels inclined to run our tests.
> I think we should add, say two jenkins tasks 'ant jenkins' and 'ant jenkins-nightly' or something like that.
> For this to work we need to port some of the stuff the scripts are doing, such as nocommit checks, to ant. Any other parameters should be exposed as ordinary ant properties so they can be overridden with -D's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]