2018-06-27 16:26:49 +02:00
|
|
|
jenkins:
|
|
|
|
Master:
|
|
|
|
HostName: jenkins.molgenis.org
|
|
|
|
ServiceType: ClusterIP
|
|
|
|
InstallPlugins:
|
|
|
|
- kubernetes:1.8.4
|
|
|
|
- workflow-aggregator:2.5
|
|
|
|
- workflow-job:2.21
|
|
|
|
- credentials-binding:1.16
|
|
|
|
- git:3.9.1
|
|
|
|
Jobs: |-
|
|
|
|
molgenis: |-
|
|
|
|
<?xml version='1.1' encoding='UTF-8'?>
|
|
|
|
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch@2.19">
|
|
|
|
<actions/>
|
|
|
|
<description></description>
|
|
|
|
<properties>
|
|
|
|
<org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig plugin="pipeline-model-definition@1.3">
|
|
|
|
<dockerLabel></dockerLabel>
|
|
|
|
<registry plugin="docker-commons@1.13"/>
|
|
|
|
</org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig>
|
|
|
|
</properties>
|
|
|
|
<folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="branch-api@2.0.20">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</folderViews>
|
|
|
|
<healthMetrics>
|
|
|
|
<com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="cloudbees-folder@6.5.1">
|
|
|
|
<nonRecursive>false</nonRecursive>
|
|
|
|
</com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric>
|
|
|
|
</healthMetrics>
|
|
|
|
<icon class="jenkins.branch.MetadataActionFolderIcon" plugin="branch-api@2.0.20">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</icon>
|
|
|
|
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.5.1">
|
|
|
|
<pruneDeadBranches>true</pruneDeadBranches>
|
|
|
|
<daysToKeep>-1</daysToKeep>
|
|
|
|
<numToKeep>-1</numToKeep>
|
|
|
|
</orphanedItemStrategy>
|
|
|
|
<triggers/>
|
|
|
|
<disabled>false</disabled>
|
|
|
|
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api@2.0.20">
|
|
|
|
<data>
|
|
|
|
<jenkins.branch.BranchSource>
|
|
|
|
<source class="jenkins.plugins.git.GitSCMSource" plugin="git@3.9.1">
|
|
|
|
<id>a1f535cd-ab83-4d42-8993-0c3e59cf139f</id>
|
|
|
|
<remote>http://github.com/molgenis/molgenis.git</remote>
|
|
|
|
<credentialsId></credentialsId>
|
|
|
|
<traits>
|
|
|
|
<jenkins.plugins.git.traits.BranchDiscoveryTrait/>
|
|
|
|
</traits>
|
|
|
|
</source>
|
|
|
|
<strategy class="jenkins.branch.DefaultBranchPropertyStrategy">
|
|
|
|
<properties class="empty-list"/>
|
|
|
|
</strategy>
|
|
|
|
</jenkins.branch.BranchSource>
|
|
|
|
</data>
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</sources>
|
|
|
|
<factory class="org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
|
|
</factory>
|
|
|
|
</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject>
|
|
|
|
# Kubernetes secret that contains a 'credentials.xml' for Jenkins
|
|
|
|
# CredentialsXmlSecret: jenkins-credentials
|
|
|
|
# Kubernetes secret that contains files to be put in the Jenkins 'secrets' directory,
|
|
|
|
# useful to manage encryption keys used for credentials.xml for instance (such as
|
|
|
|
# master.key and hudson.util.Secret)
|
|
|
|
# SecretsFilesSecret: jenkins-secrets
|
2018-06-27 16:54:50 +02:00
|
|
|
CustomConfigMap: true
|
2018-06-27 16:26:49 +02:00
|
|
|
rbac:
|
2018-06-27 17:59:04 +02:00
|
|
|
install: true
|
2018-06-28 09:25:27 +02:00
|
|
|
# A second pod template for maven builds
|
2018-06-27 17:59:04 +02:00
|
|
|
Pod:
|
|
|
|
Enabled: true
|
|
|
|
Image: "webhost12.service.rug.nl/molgenis/molgenis-maven"
|
|
|
|
ImageTag: latest
|
|
|
|
# ImagePullSecret: jenkins
|
|
|
|
Label: "molgenis-maven"
|
|
|
|
Privileged: false
|
2018-06-28 09:25:27 +02:00
|
|
|
Cpu: ""
|
|
|
|
Memory: ""
|
2018-06-27 17:59:04 +02:00
|
|
|
# You may want to change this to true while testing a new image
|
2018-06-28 09:25:27 +02:00
|
|
|
AlwaysPullImage: false
|
2018-06-27 17:59:04 +02:00
|
|
|
Command: "/bin/sh -c"
|
|
|
|
Args: "cat"
|
|
|
|
TTY: true
|
|
|
|
# You can define the volumes that you want to mount for this container
|
|
|
|
# Allowed types are: ConfigMap, EmptyDir, HostPath, Nfs, Pod, Secret
|
|
|
|
# Configure the attributes as they appear in the corresponding Java class for that type
|
|
|
|
# https://github.com/jenkinsci/kubernetes-plugin/tree/master/src/main/java/org/csanchez/jenkins/plugins/kubernetes/volumes
|
|
|
|
volumes:
|
2018-06-28 09:25:27 +02:00
|
|
|
- type: HostPath
|
2018-06-27 17:59:04 +02:00
|
|
|
hostPath: "/var/run/docker.sock"
|
2018-06-28 09:25:27 +02:00
|
|
|
mountPath: "/var/run/docker.sock"
|
|
|
|
- type: Secret
|
|
|
|
secretName: molgenis-pipeline-file-secret
|
2018-06-28 12:17:23 +02:00
|
|
|
mountPath: "/root/.m2"
|
2018-06-27 17:59:04 +02:00
|
|
|
NodeSelector: {}
|
|
|
|
# Key Value selectors. Ex:
|
|
|
|
# jenkins-agent: v1
|
2018-06-28 09:25:27 +02:00
|
|
|
PipelineSecrets:
|
|
|
|
Env:
|
2018-06-28 11:51:51 +02:00
|
|
|
# Set to false to keep existing secret
|
|
|
|
Replace: true
|
2018-06-28 13:09:13 +02:00
|
|
|
# Passphrase for the pgp private key file, prefixed with literal:
|
|
|
|
PGPPassphrase: literal:xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
# Token for codecov.io service
|
2018-06-28 12:04:46 +02:00
|
|
|
CodecovToken: xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
# Token for github bot account
|
2018-06-28 12:04:46 +02:00
|
|
|
GithubToken: xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
# Token for sonarcloud.io
|
2018-06-28 12:04:46 +02:00
|
|
|
SonarToken: xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
File:
|
2018-06-28 11:51:51 +02:00
|
|
|
# Set to false to keep existing secret
|
|
|
|
Replace: true
|
2018-06-28 09:25:27 +02:00
|
|
|
# PGP Private key in ascii format used to sign artifacts
|
|
|
|
PGPPrivateKeyAsc: |-
|
|
|
|
-----BEGIN PGP PRIVATE KEY BLOCK-----
|
|
|
|
xxxxx
|
|
|
|
-----END PGP PRIVATE KEY BLOCK-----
|
|
|
|
# maven.settings file
|
|
|
|
MavenSettingsXML: |-
|
|
|
|
<settings>
|
|
|
|
<localRepository>${user.home}/.mvnrepository</localRepository>
|
|
|
|
<interactiveMode>false</interactiveMode>
|
|
|
|
<mirrors>
|
|
|
|
<mirror>
|
|
|
|
<id>nexus</id>
|
|
|
|
<mirrorOf>external:*</mirrorOf>
|
|
|
|
<url>https://registry.molgenis.org/repository/maven-central/</url>
|
|
|
|
</mirror>
|
|
|
|
</mirrors>
|
|
|
|
<servers>
|
2018-06-28 13:09:13 +02:00
|
|
|
<!-- for snapshot builds of the master -->
|
|
|
|
<server>
|
|
|
|
<id>sonatype-nexus-staging</id>
|
|
|
|
<username>molgenis</username>
|
|
|
|
<password>xxxx</password>
|
|
|
|
</server>
|
2018-06-28 09:25:27 +02:00
|
|
|
<server>
|
|
|
|
<id>local-nexus</id>
|
2018-06-28 13:09:13 +02:00
|
|
|
<url>https://registry.molgenis.org/repository/maven-snapshots/</url>
|
2018-06-28 09:25:27 +02:00
|
|
|
<username>admin</username>
|
|
|
|
<password>xxxxx</password>
|
|
|
|
</server>
|
2018-06-28 13:09:13 +02:00
|
|
|
<!-- for docker images-->
|
2018-06-28 09:25:27 +02:00
|
|
|
<server>
|
2018-06-28 13:09:13 +02:00
|
|
|
<id>registry.molgenis.org</id>
|
|
|
|
<username>admin</username>
|
|
|
|
<password>xxxx</password>
|
2018-06-28 09:25:27 +02:00
|
|
|
</server>
|
|
|
|
</servers>
|
|
|
|
</settings>
|