first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
10
base/jenkins/2.138/Dockerfile
Normal file
10
base/jenkins/2.138/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM jenkins/jenkins:2.138-slim
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"
|
||||
|
||||
COPY init.groovy /usr/share/jenkins/ref/init.groovy.d
|
||||
|
||||
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
|
||||
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
|
17
base/jenkins/2.138/init.groovy
Normal file
17
base/jenkins/2.138/init.groovy
Normal file
@@ -0,0 +1,17 @@
|
||||
#!groovy
|
||||
|
||||
import jenkins.model.*
|
||||
import hudson.security.*
|
||||
import jenkins.security.s2m.AdminWhitelistRule
|
||||
|
||||
def instance = Jenkins.getInstance()
|
||||
|
||||
def hudsonRealm = new HudsonPrivateSecurityRealm(false)
|
||||
hudsonRealm.createAccount("admin", "admin")
|
||||
instance.setSecurityRealm(hudsonRealm)
|
||||
|
||||
def strategy = new FullControlOnceLoggedInAuthorizationStrategy()
|
||||
instance.setAuthorizationStrategy(strategy)
|
||||
instance.save()
|
||||
|
||||
Jenkins.instance.getInjector().getInstance(AdminWhitelistRule.class).setMasterKillSwitch(false)
|
50
base/jenkins/2.138/plugins.txt
Normal file
50
base/jenkins/2.138/plugins.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
workflow-aggregator:2.6
|
||||
workflow-cps-global-lib:2.11
|
||||
pipeline-model-declarative-agent:1.1.1
|
||||
script-security:1.48
|
||||
ace-editor:1.1
|
||||
plain-credentials:1.5
|
||||
momentjs:1.1.1
|
||||
workflow-basic-steps:2.15
|
||||
structs:1.17
|
||||
workflow-api:2.33
|
||||
workflow-cps:2.56
|
||||
branch-api:2.4.0
|
||||
pipeline-model-api:1.3.7
|
||||
workflow-step-api:2.19
|
||||
matrix-project:1.12
|
||||
pipeline-rest-api:2.10
|
||||
workflow-job:2.32
|
||||
workflow-scm-step:2.7
|
||||
jsch:0.1.55
|
||||
ssh-credentials:1.15
|
||||
scm-api:2.4.1
|
||||
git-client:2.7.7
|
||||
pipeline-build-step:2.7
|
||||
handlebars:1.1.1
|
||||
pipeline-input-step:2.10
|
||||
pipeline-milestone-step:1.3.1
|
||||
junit:1.27
|
||||
pipeline-stage-tags-metadata:1.3.7
|
||||
jquery-detached:1.2.1
|
||||
credentials:2.1.18
|
||||
pipeline-stage-step:2.3
|
||||
display-url-api:2.3.1
|
||||
pipeline-stage-view:2.10
|
||||
durable-task:1.29
|
||||
credentials-binding:1.18
|
||||
lockable-resources:2.5
|
||||
jackson2-api:2.9.8
|
||||
workflow-multibranch:2.21
|
||||
docker-commons:1.14
|
||||
pipeline-graph-analysis:1.9
|
||||
cloudbees-folder:6.8
|
||||
authentication-tokens:1.3
|
||||
workflow-durable-task-step:2.28
|
||||
git-server:1.7
|
||||
mailer:1.23
|
||||
apache-httpcomponents-client-4-api:4.5.5-3.0
|
||||
workflow-support:3.2
|
||||
docker-workflow:1.18
|
||||
pipeline-model-definition:1.3.2
|
||||
pipeline-model-extensions:1.3.2
|
Reference in New Issue
Block a user