44 lines
1.4 KiB
XML
44 lines
1.4 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<project>
|
|
<description>Build job - compiles and packages the application</description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<properties/>
|
|
<scm class="hudson.plugins.git.GitSCM">
|
|
<userRemoteConfigs>
|
|
<hudson.plugins.git.UserRemoteConfig>
|
|
<url>https://gittea.cloud-handson.com/joungmin/openclaw-workspace.git</url>
|
|
<credentialsId>gitea-credentials</credentialsId>
|
|
</hudson.plugins.git.UserRemoteConfig>
|
|
</userRemoteConfigs>
|
|
<branches>
|
|
<hudson.plugins.git.BranchSpec>
|
|
<name>*/main</name>
|
|
</hudson.plugins.git.BranchSpec>
|
|
</branches>
|
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
|
<submoduleCfg class="list"/>
|
|
<extensions/>
|
|
</scm>
|
|
<assignedNode>built-in</assignedNode>
|
|
<builders>
|
|
<hudson.tasks.Shell>
|
|
<command>python3 -m venv venv
|
|
. venv/bin/activate
|
|
pip install --upgrade pip
|
|
pip install pylint flake8 black isort oracledb pytest pytest-cov</command>
|
|
</hudson.tasks.Shell>
|
|
<hudson.tasks.Shell>
|
|
<command>. venv/bin/activate
|
|
pip freeze > requirements.locked.txt</command>
|
|
</hudson.tasks.Shell>
|
|
</builders>
|
|
<publishers>
|
|
<hudson.tasks.ArtifactArchiver>
|
|
<artifacts>*.py,requirements*.txt</artifacts>
|
|
<allowEmptyArchive>true</allowEmptyArchive>
|
|
<caseSensitive>true</caseSensitive>
|
|
</hudson.tasks.ArtifactArchiver>
|
|
</publishers>
|
|
<buildWrappers/>
|
|
</project>
|