Skip to content

Instantly share code, notes, and snippets.

View bharatmicrosystems's full-sized avatar
😀

Gaurav Agarwal bharatmicrosystems

😀
View GitHub Profile
git clone https://github.com/sonatype-nexus-community/nexus-repository-helm.git
cd nexus-repository-helm
git checkout <plugin_version> #e.g. git checkout 0.0.13
mvn clean package
<feature version="3.x.y">nexus-repository-p2</feature>
+ <feature version="<plugin_version>">nexus-repository-helm</feature>
<feature version="3.x.y.xy">nexus-repository-raw</feature>
</feature>
+ <feature name="nexus-repository-helm" description="org.sonatype.nexus.plugins:nexus-repository-helm" version="<plugin_version>">
+ <details>org.sonatype.nexus.plugins:nexus-repository-helm</details>
+ <bundle>mvn:org.sonatype.nexus.plugins/nexus-repository-helm/<plugin_version></bundle>
+ </feature>
apiVersion: '1.0'
entries:
confluence:
- appVersion: '1.0'
created: 2020-01-22T00:32:09.685Z
description: A Helm chart for Kubernetes
digest: 6b9d3af7bb90b9b74a979ea2d59219ed44bf12f9417b8393f60141bcd7d48f80
name: confluence
urls:
- confluence-0.1.0.tgz
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80
---
apiVersion: v1
kind: Service
metadata:
name: nginx
labels:
app: nginx
spec:
ports:
- port: 80
FROM jenkins/jenkins:centos
# Distributed Builds plugins
RUN /usr/local/bin/install-plugins.sh ssh-slaves
#
# # install Notifications and Publishing plugins
RUN /usr/local/bin/install-plugins.sh email-ext
RUN /usr/local/bin/install-plugins.sh mailer
RUN /usr/local/bin/install-plugins.sh slack
#
---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
k8s-app: jenkins
name: jenkins
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
FROM jenkins/jnlp-slave
# # install Maven
USER root
RUN apt update -y
RUN apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
RUN curl -fsSL https://apt.dockerproject.org/gpg | apt-key add -
RUN apt-add-repository "deb https://apt.dockerproject.org/repo debian-$(lsb_release -cs) main"
RUN apt-get update