Jenkins SVN

 

 

$pwd

/root/.jenkins/jobs/projectName_wasce/workspace

$ls -a

.                         build-parser.xml  .project

..                        build.xml         solr-projectName

build                     .classpath        src

build-collector.xml       conf              .svn

build-common.xml          example           table_create_script.txt

build-flume.xml           lib               test

build-hclient-jar.xml     myflume           tomcat-projectName

build-hclient.properties  myhadoop          usr

build-hclient.xml         mytomcat

build-hserver.xml         mywasce

$svn info

Path: .

URL: https://svn_serve:9050/svn/153299/elf/Trunk/projectName

Repository Root: https://svn_serve:9050/svn/153299/elf

Repository UUID: 36218a5d-ec63-0410-8c6c-9bab853e7b5a

Revision: 1492

Node Kind: directory

Schedule: normal

Last Changed Author: userID

Last Changed Rev: 1492

Last Changed Date: 2012-10-19 05:51:13 -0400 (Fri, 19 Oct 2012)

 

$svn info -R | grep "Revision\:" | sort -k2nr | head -n1

svn: Directory 'build/.svn' containing working copy admin area is missing

Revision: 1510

$


Question:
There is a credential authorization of SVN Jenkins setting.
The first time you enter your credential, it works.
But next time, it does not fetch the latest revision of svn.
We should do below things.
there is a svn config file in the folder $SVN_HOME/.subversioin/config
set below items.

store-passwords = no
store-auth-creds = no
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值