首页 > 其他分享 >Jenkins: plugins

Jenkins: plugins

时间:2023-04-24 20:15:17浏览次数:34  
标签:Credential plugins SSH credentials Jenkins #------------------------------------

 

Snippet Generator => steps (place into the steps)
只有脚本script{}可声明变量,String,def声明的变量只有script{}可用
#---------------------------------------------------------------------
# Plugins
#---------------------------------------------------------------------
# Organization and Administration
Configuration as Code
Dashboard View
Folders
OWASP Markup Formatter

# Build Features
Build Name and Description Setter
Build Timeout
Config File Provider  # Ability to provide configuration files (e.g. settings.xml for maven, XML, groovy, custom files,...) loaded through the UI which will be copied to the job workspace.
Credential  # This plugin allows you to store credentials in Jenkins.
Credential Binding  # Allows credentials to be bound to environment variables for use from miscellaneous build steps.
Embeddable Build Status
Rebuilder
SSH Agent  # This plugin allows you to provide SSH credentials to builds via a ssh-agent in Jenkins.
Timestamper
Workspace Cleanup

# Build Tools
Ant
Gradle

# Build Analysis and Reporting
Active Choices
Generic Webhook Trigger
HTML Publisher
JUnit

# Distributed Builds
Matrix Projec
SSH Build Agents  # Allows to launch agents over SSH, using a Java implementation of the SSH protocol.

# Pipelines and Continuous Delivery
Pipeline
GitHub Branch Source
Pipeline: GitHub Groovy Libraries
Pipeline: Stage View
Pipeline Utility Steps
Parameterized Trigge

# Source Code Management
Git
Git Parameter
GitHub
GitLab

# User Management and Security
Active Directory
Matrix Authorization Strategy
PAM Authentication
LDAP
Role-based Authorization Strategy

# Notifications and Publishing
Email Extension
Email Extension Template
Mailer

# 
AnsiColor
Plain Credential Plugin  # Allows use of plain strings and files as credentials.
SSH Credential  # Allows storage of SSH credentials in Jenkins


#---------------------------------------------------------------------
# URI
#---------------------------------------------------------------------
/env-vars.html
/pipeline-syntax
/manage
/whoAmI


#---------------------------------------------------------------------
# Declarative Directive Generator
#---------------------------------------------------------------------
environment can only allowed inside pipeline block or within stage directive


#---------------------------------------------------------------------
# Kubernetes Plugin
#---------------------------------------------------------------------
# environment variables
JENKINS_URL : Jenkins web interface url
JENKINS_SECRET : the secret key for authentication
JENKINS_AGENT_NAME : the name of the Jenkins agent

 

标签:Credential,plugins,SSH,credentials,Jenkins,#------------------------------------
From: https://www.cnblogs.com/dissipate/p/17350697.html

相关文章

  • Jenkins: template
     Stringworkspace="/opt/jenkins/workspace/${JOB_NAME}"defv='v'env.e1='v1'pipeline{agent{node{label'master'customWorkspace"${workspace}"}......
  • Jenkins使用备注
    Jenkins2.361.1(LTS)版本下载官网下载地址:https://www.jenkins.io/download/启动配置1.配置JDK112.配置服务端口--httpPort=90903.配置JENKINS_HOME,用于修改Jenkins存储与配置的目录启动命令重新设置Jenkins的存储与配置目录,setJENKINS_HOME=my-jenkins-configjava-jar......
  • 在服务器上安装jenkins
    jenkins.warjdk-8u131-linux-x64.tarapache-tomcat-7.0.68.tar上传服务器上述安装包,安装好jdk,tomcat,验证是否安装成功,然后把tomcat/webapps/ROOT目录里的文件都删除掉,把jenkins.war拷贝到ROOT目录下,然后解压jar-xvfjenkins.war。然后返回tomcat/conf目录中,编辑server.xml......
  • 在Linux服务器上装jenkins
    官网下载jenkinshttps://www.jenkins.io/zh/download/下载的文件是jenkins.war把安装文件放到Linux中 可以直接在远程连接中上传文件,也可以使用宝塔面板上传,还可以使用Xftp上传 安装jenkinscd进入存放安装文件的目的,使用命令安装java-jarjenkins.war--httpPort=8080......
  • 11、集群外部、内部的jenkins如何在k8s集群上创建动态pod agent
    Kubernetes插件能够让JenkinsMaster在Kubernetes集群上运行基于Pod的动态Agent◼它会为启动的每个Agent创建一个Pod,并在运行完成后停止它◼各PodAgent以InboundAgent形式运行,inbound-agent容器会自动连接到JenkinsMaster◆这意味着在每个PodAgent中,始终有一......
  • jenkins部署(最新版)
     jenkins中文社区https://www.jenkins.io/zh/doc/book/installing/1、系统管理        #邮件内容模板文档:https://blog.csdn.net/J_____Q/article/details/118518554    #进行邮件测试,看是否可以收到邮件  #邮箱收件 ......
  • Jenkins 忘记登录密码怎么办
    在安装Jenkins中遇到忘记登录密码该怎么呢?方法有很多,我这里记录一下我找的方法1、先停止jenkins服务systemctlstopjenkins2、找到config.xml文件find/-nameconfig.xml命令执行后找到如下结果:/root/.jenkins/config.xml/root/.jenkins/users/admin_83999305795......
  • docker 创建jenkins
    #查看远程镜像dockersearchjenkins#拉取镜像dockerpulljenkins/jenkins#创建容器dockerrun-d-uroot-p8080:8080-p50000:50000--namejenkins-v~/jenkins_home:/var/jenkins_home-v/etc/localtime:/etc/localtimejenkins/jenkins  #查看密码#......
  • 批量清除 Jenkins Job 的构建信息
    要批量清除JenkinsJob的构建信息,您可以使用Jenkins的Groovy脚本执行器。请按照以下步骤操作:登录到Jenkins管理界面。点击左侧导航栏中的"管理Jenkins"。向下滚动并找到"脚本控制台",点击进入。在脚本控制台中,粘贴以下Groovy脚本(根据需要修改脚本中的Job......
  • Jenkins简介
    Jenkins是一个开源的自动化构建工具,可以帮助开发人员自动构建、测试和部署软件。它支持多种编程语言、版本控制系统和构建工具,如Java、Git、Maven等。Jenkins的核心功能是通过一系列插件提供自动构建、测试和部署的功能。Jenkins的工作流程如下:1.开发人员提交代码到版本控制系......