HoneyMoose
  • 首页
  • Java
  • Jersey
  • Jira
  • Confluence
  • U.S.
    • USRealEstate
    • USVisaTrack
    • H1B
  • 项目和网站
    • CWIKI.US
    • OSSEZ 社区
    • WIKI.OSSEZ.COM
    • BUG.OSSEZ.COM
    • RSS.OSSEZ.COM
BLOG.OSSEZ.COM
A responsive blog theme focused om user reading experience
  1. Home
  2. Computer Science
  3. This article

Jenkins pipeline Git 检出的 Step

2022年11月26日 98Browse 0Like 0Comments

在 Jenkins 中,可以使用下面的定义来检出需要编译的代码。

stage("Pull Source Code"){
			steps {
			    git branch: 'main',
			        credentialsId: 'd8a95129-132d-46d9-a864-06514d16feba',
			        url: 'https://src.ossez.com/USVisaTrack/Usvisatrack-Ui.git'
			}
		}

在 Branch 后面指定我们需要检出的分支。

 

2022-10-24_14-23-48

 

当上面代码执行后,将会执行检出。

https://www.ossez.com/t/jenkins-pipeline-git-step/14164

Tags: None
Last updated:2022年11月26日

Kratos

stay absorbed stay excellent

Like
< Previous
Next >

Comments

Cancel reply

Newest Hotspots Random
Newest Hotspots Random
ChatGPT 的 API 调用可不太便宜 来看一个 ChatGPT 有关程序员的笑话 IntelliJ IDEA 的 Code Coverage 测试 Okhttp 如何构建一个 Get 的 URL SpringBoot 使用 @ConfigurationProperties 异常 Not registered via @EnableConfigurationProperties Jackson 的 DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
说说这 48 小时核酸检测的时间FAA 真的应该换换系统了Java 8 使用 Stream 把 List 转换为 mapPowerShell 中运行 maven 参数无法识别1月14号的 UA857Jackson 的 DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
Spring Batch 中的 chunk 传统村落水口山镇大皮口村 - 村落布局 Npm 使用 Nexus 仓库的登录时候出现授权的问题 Spring Boot 2.4 部署你的第一个 Spring Boot 应用需要的环境 Discourse 如何进行程序的更新 Kirkland 保健品 海淘一般在哪个网站买
Categories
  • Algorithm(算法)
  • AMQP
  • Angular
  • CI
  • Compile And CI
  • Computer Science
  • Confluence
  • DataBase
  • Gradle
  • H1B
  • Hibernate
  • IDE
  • Java
  • Jersey
  • Jira
  • MariaDB
  • PrestaShop
  • Spring
  • Spring Batch
  • U.S.
  • USRealEstate
  • USVisaTrack
  • 我的小厨

COPYRIGHT © 2020 HoneyMoose. ALL RIGHTS RESERVED.

THEME CWIKIUS.CN MADE BY VTROIS