Code Monkey home page Code Monkey logo

Comments (6)

JJediny avatar JJediny commented on July 26, 2024

Export plugins from a running Jenkins deployment:

export JENKINS_HOST=username:[email protected]:port
curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'

Example export from current Data.gov testing environment:

pipeline-github-lib:1.0
async-http-client:1.7.24.1
timestamper:1.8.8
ws-cleanup:0.33
workflow-basic-steps:2.4
tasks:4.51
generic-webhook-trigger:1.10
maven-plugin:2.15.1
external-monitor-job:1.7
pipeline-multibranch-defaults:1.1
blueocean:1.0.1
docker-custom-build-environment:1.6.5
aws-bucket-credentials:0.1.1
delivery-pipeline-plugin:1.0.1
hubot-steps:1.1.0
subversion:2.7.2
metrics:3.1.2.9
aws-lambda:0.5.10
statistics-gatherer:1.1.2
pipeline-utility-steps:1.3.0
ssh-agent:1.15
yet-another-docker-plugin:0.1.0-rc36
travis-yml:0.2.2
build-configurator:1.0.6.1
feature-branch-notifier:1.4
monitoring:1.67.0
rake:1.8.0
copyartifact:1.38.1
vs-code-metrics:1.7
git-parameter:0.8.0
docker-build-step:1.41
docker-workflow:1.11
docker-commons:1.6
golang:1.2
configurationslicing:1.47
simple-build-for-pipeline:0.2
workflow-cps-global-lib:2.8
workflow-multibranch:2.14
branch-api:2.0.9
jenkins-cloudformation-plugin:1.2
pipeline-model-declarative-agent:1.1.1
whitesource:1.7.8
zap:1.0.8
jenkins-reviewbot:2.4.6
modernstatus:1.2
envinject:2.1
loadrunner:1.1
aws-credentials:1.19
kubernetes:0.11
rpi-build-status:0.7
multiple-scms:0.6
pipeline-model-extensions:1.1.4
gradle:1.26
packer:1.4
ssh-slaves:1.17
dependencyanalyzer:0.7
github-branch-source:2.0.5
python:1.3
database:1.5
matrix-auth:1.6
github-api:1.85
jenkins-multijob-plugin:1.24
robot:1.6.4
conditional-buildstep:1.3.5
dry:2.47
mantis:0.26
groovy:2.0
seleniumhtmlreport:1.0
parameterized-trigger:2.33
aws-java-sdk:1.11.119
workflow-step-api:2.9
ssh-credentials:1.13
blueocean-events:1.0.1
docker-build-publish:1.3.2
github-pullrequest:0.1.0-rc24
cloudfoundry:1.5
ruby-runtime:0.12
built-on-column:1.1
jquery:1.11.2-0
reverse-proxy-auth-plugin:1.5
credentials:2.1.13
hashicorp-vault-plugin:2.0.1
scm-api:2.1.1
cloud-stats:0.11
resource-disposer:0.6
credentials-binding:1.11
blueocean-pipeline-editor:0.2.0
anchore-container-scanner:1.0.9
docker-plugin:0.16.2
cors-filter:1.1
cmakebuilder:2.4.5
pipeline-build-step:2.5
structs:1.6
nexus-jenkins-plugin:1.2.20170428-142845.cb63c9e
ant:1.5
pretested-integration:2.4.1 (409ae)
build-timestamp:1.0.1
github:1.27.0
pam-auth:1.3
pipeline-stage-step:2.2
blueocean-jwt:1.0.1
copy-to-slave:1.4.4
blueocean-commons:1.0.1
openid4java:0.9.8.0
blueocean-dashboard:1.0.1
cloudbees-folder:6.0.4
durable-task:1.13
pipeline-stage-view:2.6
workflow-scm-step:2.4
build-timeout:1.18
blueocean-display-url:2.0
zapper:1.0.7
pipeline-model-definition:1.1.4
clamav:0.3
workflow-aggregator:2.5
covcomplplot:1.1.1
run-condition:1.0
blueocean-personalization:1.0.1
dashboard-view:2.9.10
job-import-plugin:1.6
selenium-builder:1.14
saml:0.13
blueocean-github-pipeline:1.0.1
mailer:1.20
export-params:1.9
config-file-provider:2.15.7
icon-shim:2.0.3
sonar:2.6.1
matrix-project:1.11
security-inspector:0.4
blueocean-autofavorite:0.7
imagecomparison:1.4
notification:1.11
cloudbees-credentials:3.3
publish-over-ssh:1.17
momentjs:1.1.1
console-badge:1.1
tfs:5.3.4
file-operations:1.6
pipeline-stage-tags-metadata:1.1.4
ssh:2.4
handlebars:1.1.1
scalable-amazon-ecs:1.0
nodelabelparameter:1.7.2
loadimpact-plugin:1.62
github-oauth:0.27
seleniumrc-plugin:1.0
metrics-diskusage:3.0.0
blueocean-config:1.0.1
pipeline-githubnotify-step:1.0.2
seed:2.1.4
jquery-ui:1.0.2
analysis-core:1.86
javadoc:1.4
jenkinslint:0.8.0
dependency-check-jenkins-plugin:1.4.5
docker-slaves:1.0.6
job-dsl:1.63
bouncycastle-api:2.16.1
webhook-step:1.2
jackson2-api:2.7.3
authentication-tokens:1.3
openid:2.2
mask-passwords:2.10.1
pipeline-input-step:2.7
newrelic-deployment-notifier:1.3
patch-parameter:1.2
blueocean-web:1.0.1
ghprb:1.36.2
matrix-combinations-parameter:1.1.1
google-login:1.3
swamp:1.0.1
pubsub-light:1.8
blueocean-rest:1.0.1
selenium:3.1.0
livescreenshot:1.4.5
vagrant:1.0.2
disk-usage:0.28
blueocean-pipeline-api-impl:1.0.1
systemloadaverage-monitor:1.2
mercurial:1.60
blueocean-rest-impl:1.0.1
kubernetes-ci:1.3
analysis-collector:1.50
virtualbox:0.7
groovy-remote:0.2
pipeline-milestone-step:1.3.1
workflow-cps:2.30
display-url-api:2.0
log-parser:2.0
dockerhub-notification:2.2.0
threadfix:1.5.4
mapdb-api:1.0.9.0
script-security:1.27
gatling:1.2.2
s3:0.10.12
junit:1.20
ace-editor:1.1
brakeman:0.11
variant:1.1
pipeline-graph-analysis:1.3
email-ext:2.57.2
ci-game:1.26
github-issues:1.2.2
blueocean-git-pipeline:1.0.1
jquery-detached:1.2.1
workflow-job:2.11
workflow-api:2.13
blueocean-i18n:1.0.1
github-organization-folder:1.6
statusmonitor:1.3
codesonar:2.0.5 (cf87a)
pipeline-model-api:1.1.4
antisamy-markup-formatter:1.5
ansicolor:0.5.0
ansible:0.6.2
git-server:1.7
role-strategy:2.4.0
pagerduty:0.2.5
multi-slave-config-plugin:1.2.0
workflow-durable-task-step:2.11
sse-gateway:1.15
description-setter:1.10
nexus-artifact-uploader:2.9
plain-credentials:1.4
favorite:2.0.4
windows-slaves:1.3.1
git:3.3.0
throttle-concurrents:2.0
terraform:1.0.9
fluentd:0.1.2
build-pipeline-plugin:1.5.6
extensivetesting:1.4.4b
active-directory:2.4
build-with-parameters:1.3
cloudbees-disk-usage-simple-plugin:0.2
veracode-scanner:1.6
pipeline-rest-api:2.6
artifact-promotion:0.4.0
workflow-support:2.14
database-postgresql:1.0
amazon-ecs:1.11
depgraph-view:0.11
git-client:2.4.5
token-macro:2.1
ldap:1.15

from jenkins-deploy.

afeld avatar afeld commented on July 26, 2024

One from @kishorebabu12: https://blog.codecentric.de/en/2015/02/jenkins-deployment-dashboard-ec2-environments/

from jenkins-deploy.

afeld avatar afeld commented on July 26, 2024

@JJediny That list above includes the transitive dependencies, yeah? What are the top-level plugins you include?

from jenkins-deploy.

JJediny avatar JJediny commented on July 26, 2024

@afeld yea that list includes all plugins including a plugin's required plugins. When testing to install plugins it failed to install the correct version as I declared :latest for all plugins in a txt file that got imported into a Jenkins Dockerfile to install declared plugins - GSA/datagov-infrastructure#1

So I think it'd be best to install the plugins you need first through the GUI to make sure all the correct dependency versions are interpreted for you then run that curl example above to snapshot into the repo?

from jenkins-deploy.

afeld avatar afeld commented on July 26, 2024

Yep yep. To ask again: do you remember what top-level plugins data.gov uses? In other words, what plugins are on that list that aren't a dependency of another plugin on that list?

from jenkins-deploy.

JJediny avatar JJediny commented on July 26, 2024

These are all top level plugins https://github.com/GSA/datagov-infrastructure/blob/master/deprecated/jenkins/plugins.txt

from jenkins-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.