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

Jan Høydahl edited comment on SOLR-16041 at 2/23/22, 3:00 PM:
--------------------------------------------------------------

I chose to not add gradle support for this directly. Instead this PR modifies 
the smoketester so that it can test the local unsigned release directly from 
solr/distribution/release folder.

I also created a DRAFT Jenkins job at 
[https://ci-builds.apache.org/job/Solr/job/Solr-Smoketest-9.0/] that currently 
runs on this PR branch.

It basically
 * Checks out the PR branch
 * Runs {{gradlew assembleRelease -Dversion.release=10.0.0 -Psign=false -x 
signJarsPublication}}
 * Runs a small script to run the smoketester

{code:sh}
#!/bin/bash
mdkir -p $WORKSPACE_TMP
python3 -m venv $WORKSPACE_TMP/pyenv
source $WORKSPACE_TMP/pyenv/bin/activate
cd $GIT_CHECKOUT_DIR
pip3 install -r dev-tools/scripts/requirements.txt
python3 -u dev-tools/scripts/smokeTestRelease.py --not-signed --revision 
$GIT_COMMIT --version 10.0.0 file://$(pwd)/solr/distribution/build/release{code}

Once this job runs properly, I'll merge and modify the Jenkins job to run on 
branch_9_0 and to send email to builds@solr


was (Author: janhoy):
I chose to not add gradle support for this directly. Instead this PR modifies 
the smoketester so that it can test the local unsigned release directly from 
solr/distribution/release folder.

I also created a DRAFT Jenkins job at 
[https://ci-builds.apache.org/job/Solr/job/Solr-Smoketest-9.0/] that currently 
runs on this PR branch. Once it runs properly, we'll merge and modify the 
Jenkins job to run on branch_9_0 and to send email to builds@solr

> Prepare a Jenkins job that runs smoke tester on 9.0
> ---------------------------------------------------
>
>                 Key: SOLR-16041
>                 URL: https://issues.apache.org/jira/browse/SOLR-16041
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The old ant build had a [target 
> "nightly-smoke"|https://github.com/apache/lucene-solr/blob/branch_8_11/build.xml#L420:L466]
>  that would build the release and run smoketester on it. This was run nightly 
> before each release in Jenkins to catch issues early - 
> [https://ci-builds.apache.org/job/Lucene/job/Lucene-Solr-SmokeRelease-8.11/]
> Could be useful to have a similar mechanism now.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to