logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

通过curl command上传jar文件到Nexus3 Maven repository

Direct Upload using HTTP PUT to the Repository PathSome repository formats such asMaven 2,YUM, andRAWallow direct upload of assets using HTTP PUT.Formats such asNuGet,NPM, andDockerDO NOT support thes

#devops#maven
在groovy中,Jenkins pipleline 在Slave中判断File exists

我的groovy 脚本在master 中如下,判断文件是否存在============================================================import com.xxxxx.Jenkinsimport groovy.io.FileTypedef call(def subProjectName,def path, def project...

jenkins 用wrap([$class: 'BuildUser']) 时出现如下错误

java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named BuildUserat org.jenkinsci.plugins.structs.describable.DescribableModel.resolveCla...

#jenkins
在JenkinsFIle,java.lang.NoSuchMethodError: No such DSL method 'readYaml' found among steps [archive

新建Jenkins server时,在上边执行老的JenkinsFile,但是出现下面的错误java.lang.NoSuchMethodError: No such DSL method 'readYaml' found among steps [archive, bat, build, catchError, checkout, deleteDir, dir, dockerFingerpr...

git version upgrade

ubuntu1,apt -y remove git2,apt -y install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev autoconf asciidoc xmlto docbook2x make gcc3,wget https://github.com/git/git/archive/v2.15.1....

git commit之后,想撤销commit

写完代码后,我们一般这样git add . //添加所有文件git commit -m "本功能全部完成"执行完commit后,想撤回commit,怎么办?这样凉拌:git reset --soft HEAD^这样就成功的撤销了你的commit注意,仅仅是撤回commit操作,您写的代码仍然保留。说一下个人理解:HEAD^的意思是上一个版本,也可以写成HEAD~...

git checkout tag

git clone 整个仓库后使用,以下命令就可以取得该 tag 对应的代码了 git checkout tag_name 但是,这时候 git 可能会提示你当前处于一个“detached HEAD" 状态。因为 tag 相当于是一个快照,是不能更改它的代码的。如果要在 tag 代码的基础上做修改,你需要一个分支: git checkout -b branch_name tag_...

到底了