remove unused file
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
FROM jenkins/jenkins:2.332.3-lts
|
|
||||||
|
|
||||||
ENV JAVA_OPTS="-Djenkins.install.runSetupWizard=false"
|
|
||||||
|
|
||||||
COPY security.groovy /usr/share/jenkins/ref/init.groovy.d/security.groovy
|
|
||||||
|
|
||||||
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt
|
|
||||||
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
lastCompletedBuild -1
|
|
||||||
lastFailedBuild -1
|
|
||||||
lastStableBuild -1
|
|
||||||
lastSuccessfulBuild -1
|
|
||||||
lastUnstableBuild -1
|
|
||||||
lastUnsuccessfulBuild -1
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
<?xml version='1.1' encoding='UTF-8'?>
|
|
||||||
<project>
|
|
||||||
<description></description>
|
|
||||||
<keepDependencies>false</keepDependencies>
|
|
||||||
<properties/>
|
|
||||||
<scm class="hudson.scm.NullSCM"/>
|
|
||||||
<canRoam>true</canRoam>
|
|
||||||
<disabled>false</disabled>
|
|
||||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
||||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
|
||||||
<triggers/>
|
|
||||||
<concurrentBuild>false</concurrentBuild>
|
|
||||||
<builders>
|
|
||||||
<hudson.tasks.Shell>
|
|
||||||
<command>echo "hello from Jenkins Valet people!"</command>
|
|
||||||
<configuredLocalRules/>
|
|
||||||
</hudson.tasks.Shell>
|
|
||||||
</builders>
|
|
||||||
<publishers/>
|
|
||||||
<buildWrappers/>
|
|
||||||
</project>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
lastCompletedBuild -1
|
|
||||||
lastFailedBuild -1
|
|
||||||
lastStableBuild -1
|
|
||||||
lastSuccessfulBuild -1
|
|
||||||
lastUnstableBuild -1
|
|
||||||
lastUnsuccessfulBuild -1
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<?xml version='1.1' encoding='UTF-8'?>
|
|
||||||
<flow-definition plugin="[email protected]">
|
|
||||||
<description></description>
|
|
||||||
<keepDependencies>false</keepDependencies>
|
|
||||||
<properties/>
|
|
||||||
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="[email protected]_ca_">
|
|
||||||
<script>pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Hello') {
|
|
||||||
steps {
|
|
||||||
echo 'Hello World'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<sandbox>true</sandbox>
|
|
||||||
</definition>
|
|
||||||
<triggers/>
|
|
||||||
<disabled>false</disabled>
|
|
||||||
</flow-definition>
|
|
||||||
-85
@@ -1,85 +0,0 @@
|
|||||||
javax-activation-api
|
|
||||||
javax-mail-api
|
|
||||||
cloudbees-folder
|
|
||||||
mina-sshd-api-common
|
|
||||||
mina-sshd-api-core
|
|
||||||
sshd
|
|
||||||
antisamy-markup-formatter
|
|
||||||
structs
|
|
||||||
token-macro
|
|
||||||
build-timeout
|
|
||||||
credentials
|
|
||||||
trilead-api
|
|
||||||
ssh-credentials
|
|
||||||
workflow-step-api
|
|
||||||
plain-credentials
|
|
||||||
credentials-binding
|
|
||||||
scm-api
|
|
||||||
workflow-api
|
|
||||||
timestamper
|
|
||||||
caffeine-api
|
|
||||||
script-security
|
|
||||||
jaxb
|
|
||||||
snakeyaml-api
|
|
||||||
jackson2-api
|
|
||||||
plugin-util-api
|
|
||||||
font-awesome-api
|
|
||||||
popper2-api
|
|
||||||
bootstrap5-api
|
|
||||||
jquery3-api
|
|
||||||
echarts-api
|
|
||||||
display-url-api
|
|
||||||
workflow-support
|
|
||||||
checks-api
|
|
||||||
junit
|
|
||||||
matrix-project
|
|
||||||
resource-disposer
|
|
||||||
ws-cleanup
|
|
||||||
ant
|
|
||||||
durable-task
|
|
||||||
workflow-durable-task-step
|
|
||||||
jdk-tool
|
|
||||||
command-launcher
|
|
||||||
bouncycastle-api
|
|
||||||
ace-editor
|
|
||||||
workflow-scm-step
|
|
||||||
workflow-cps
|
|
||||||
workflow-job
|
|
||||||
jakarta-activation-api
|
|
||||||
jakarta-mail-api
|
|
||||||
apache-httpcomponents-client-4-api
|
|
||||||
mailer
|
|
||||||
workflow-basic-steps
|
|
||||||
gradle
|
|
||||||
pipeline-milestone-step
|
|
||||||
pipeline-build-step
|
|
||||||
variant
|
|
||||||
pipeline-groovy-lib
|
|
||||||
pipeline-stage-step
|
|
||||||
pipeline-model-api
|
|
||||||
pipeline-model-extensions
|
|
||||||
branch-api
|
|
||||||
workflow-multibranch
|
|
||||||
pipeline-stage-tags-metadata
|
|
||||||
jsch
|
|
||||||
git-client
|
|
||||||
pipeline-input-step
|
|
||||||
pipeline-model-definition
|
|
||||||
workflow-aggregator
|
|
||||||
jjwt-api
|
|
||||||
okhttp-api
|
|
||||||
github-api
|
|
||||||
git
|
|
||||||
github
|
|
||||||
github-branch-source
|
|
||||||
pipeline-github-lib
|
|
||||||
pipeline-graph-analysis
|
|
||||||
pipeline-rest-api
|
|
||||||
handlebars
|
|
||||||
momentjs
|
|
||||||
pipeline-stage-view
|
|
||||||
ssh-slaves
|
|
||||||
matrix-auth
|
|
||||||
pam-auth
|
|
||||||
ldap
|
|
||||||
email-ext
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
#!groovy
|
|
||||||
|
|
||||||
import jenkins.model.*
|
|
||||||
import hudson.security.*
|
|
||||||
import jenkins.security.s2m.AdminWhitelistRule
|
|
||||||
|
|
||||||
def instance = Jenkins.getInstance()
|
|
||||||
|
|
||||||
def user = new File("/run/secrets/jenkins-user").text.trim()
|
|
||||||
def pass = new File("/run/secrets/jenkins-pass").text.trim()
|
|
||||||
|
|
||||||
def hudsonRealm = new HudsonPrivateSecurityRealm(false)
|
|
||||||
hudsonRealm.createAccount(user, pass)
|
|
||||||
instance.setSecurityRealm(hudsonRealm)
|
|
||||||
|
|
||||||
def strategy = new FullControlOnceLoggedInAuthorizationStrategy()
|
|
||||||
instance.setAuthorizationStrategy(strategy)
|
|
||||||
instance.save()
|
|
||||||
|
|
||||||
Jenkins.instance.getInjector().getInstance(AdminWhitelistRule.class).setMasterKillSwitch(false)
|
|
||||||
Reference in New Issue
Block a user