-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALS-4771] - Jenkins jobs for rebuilding resources (#70)
* [ALS-4771] - Jenkins jobs for rebuilding resources - Jenkins jobs for rebuilding Aggregate Resource and Passthrough resource - Both of these jobs have initial build jobs that include a run-once SQL script - These scripts just duplicate those jobs, sans SQL --------- Co-authored-by: Luke Sikina <[email protected]>
- Loading branch information
1 parent
40555b1
commit eab6440
Showing
2 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...al-configuration/jenkins/jenkins-docker/jobs/PIC-SURE Aggregate Resource Build/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version='1.1' encoding='UTF-8'?> | ||
<project> | ||
<actions/> | ||
<description></description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<hudson.model.StringParameterDefinition> | ||
<name>RESOURCE_PATH</name> | ||
<description>Path</description> | ||
<defaultValue>pic-sure-aggregate-resource</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>git_hash</name> | ||
<defaultValue>*/master</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
</properties> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
<url>https://github.com/hms-dbmi/pic-sure.git</url> | ||
</hudson.plugins.git.UserRemoteConfig> | ||
</userRemoteConfigs> | ||
<branches> | ||
<hudson.plugins.git.BranchSpec> | ||
<name>${git_hash}</name> | ||
</hudson.plugins.git.BranchSpec> | ||
</branches> | ||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | ||
<submoduleCfg class="empty-list"/> | ||
<extensions/> | ||
</scm> | ||
<canRoam>true</canRoam> | ||
<disabled>false</disabled> | ||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers/> | ||
<concurrentBuild>false</concurrentBuild> | ||
<builders> | ||
<hudson.tasks.Maven> | ||
<targets>clean package -DskipTests -Dwildfly.skip=true</targets> | ||
<mavenName>Maven Home</mavenName> | ||
<usePrivateRepository>false</usePrivateRepository> | ||
<settings class="jenkins.mvn.DefaultSettingsProvider"/> | ||
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> | ||
<injectBuildVariables>false</injectBuildVariables> | ||
</hudson.tasks.Maven> | ||
<hudson.tasks.Shell> | ||
<command>cd pic-sure-resources/pic-sure-aggregate-data-sharing-resource | ||
mkdir -p /usr/local/docker-config/wildfly/deployments | ||
cp target/pic-sure-aggregate-data-sharing-resource.war /usr/local/docker-config/wildfly/deployments/$RESOURCE_PATH.war</command> | ||
<configuredLocalRules/> | ||
</hudson.tasks.Shell> | ||
</builders> | ||
<publishers/> | ||
<buildWrappers/> | ||
</project> |
64 changes: 64 additions & 0 deletions
64
...-configuration/jenkins/jenkins-docker/jobs/PIC-SURE Build Passthrough Resource/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version='1.1' encoding='UTF-8'?> | ||
<project> | ||
<actions/> | ||
<description></description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<hudson.model.StringParameterDefinition> | ||
<name>RESOURCE_PATH</name> | ||
<description>Resource Path (Ex: /foo-bar). Do not include leading/trailing slash</description> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>git_hash</name> | ||
<defaultValue>*/master</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
</properties> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
<url>https://github.com/hms-dbmi/pic-sure.git</url> | ||
</hudson.plugins.git.UserRemoteConfig> | ||
</userRemoteConfigs> | ||
<branches> | ||
<hudson.plugins.git.BranchSpec> | ||
<name>${git_hash}</name> | ||
</hudson.plugins.git.BranchSpec> | ||
</branches> | ||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | ||
<submoduleCfg class="empty-list"/> | ||
<extensions/> | ||
</scm> | ||
<canRoam>true</canRoam> | ||
<disabled>false</disabled> | ||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers/> | ||
<concurrentBuild>false</concurrentBuild> | ||
<builders> | ||
<hudson.tasks.Maven> | ||
<targets>clean package -DskipTests -Dwildfly.skip=true</targets> | ||
<mavenName>Maven 3.6.3</mavenName> | ||
<usePrivateRepository>false</usePrivateRepository> | ||
<settings class="jenkins.mvn.DefaultSettingsProvider"/> | ||
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> | ||
<injectBuildVariables>false</injectBuildVariables> | ||
</hudson.tasks.Maven> | ||
<hudson.tasks.Shell> | ||
<command> | ||
|
||
cd pic-sure-resources/pic-sure-passthrough-resource | ||
mkdir -p /usr/local/docker-config/wildfly/deployments | ||
cp target/pic-sure-passthrough-resource.war /usr/local/docker-config/wildfly/deployments/$RESOURCE_PATH.war</command> | ||
<configuredLocalRules/> | ||
</hudson.tasks.Shell> | ||
</builders> | ||
<publishers/> | ||
<buildWrappers/> | ||
</project> |