-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#230) Adds ChocolateyCore Repository and Jenkins Job
- Add ChocolateyCore repo as main repo for core packages - Add callout to new ChocolateyCore repository - Remove See It In Action README section as video is outdated - Fixup spelling/grammar in README - Add new Update ChocolateyCore Repository Jenkins Job - Add test to check for new Jenkins job - Remove legacy build files from new and existing Jenkins jobs
- Loading branch information
1 parent
cb0be0d
commit 00ac1a2
Showing
16 changed files
with
118 additions
and
44 deletions.
There are no files selected for viewing
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
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
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
Empty file.
2 changes: 0 additions & 2 deletions
2
jenkins/Internalize packages from the Community Repository/builds/permalinks
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
jenkins/Internalize packages from the Community Repository/nextBuildNumber
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
<?xml version="1.1" encoding="UTF-8"?><flow-definition plugin="[email protected]"> | ||
<actions/> | ||
<description>Automatically update any out of date packages in the ChocolateyCore repository from the Licensed and Community Repositories</description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<hudson.model.StringParameterDefinition> | ||
<name>P_LOCAL_REPO_URL</name> | ||
<description>Internal core repository.</description> | ||
<defaultValue>https://{{hostname}}:8443/repository/ChocolateyCore/index.json</defaultValue> | ||
<trim>true</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>P_REMOTE_REPO_URL</name> | ||
<description>Remote repositories containing updated package versions.</description> | ||
<defaultValue>https://licensedpackages.chocolatey.org/api/v2/;https://community.chocolatey.org/api/v2/</defaultValue> | ||
<trim>true</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.PasswordParameterDefinition> | ||
<name>P_LOCAL_REPO_API_KEY</name> | ||
<description>API key for the internal core repository where updated packages will be pushed.</description> | ||
<defaultValue>{{NugetApiKey}}</defaultValue> | ||
</hudson.model.PasswordParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
</properties> | ||
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="[email protected]"> | ||
<script>node { | ||
powershell ''' | ||
Set-Location (Join-Path "$env:SystemDrive" -ChildPath 'scripts') | ||
.\\Get-UpdatedPackage.ps1 -LocalRepo $env:P_LOCAL_REPO_URL ` | ||
-LocalRepoApiKey $env:P_LOCAL_REPO_API_KEY ` | ||
-RemoteRepo $env:P_REMOTE_REPO_URL ` | ||
-Verbose | ||
''' | ||
}</script> | ||
<sandbox>true</sandbox> | ||
</definition> | ||
<triggers/> | ||
<disabled>false</disabled> | ||
</flow-definition> |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file removed
0
jenkins/Update test repository from Chocolatey Community Repository/builds/legacyIds
Empty file.
2 changes: 0 additions & 2 deletions
2
jenkins/Update test repository from Chocolatey Community Repository/builds/permalinks
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
jenkins/Update test repository from Chocolatey Community Repository/nextBuildNumber
This file was deleted.
Oops, something went wrong.
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
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
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