美文网首页
使用phing + jenkins 实现CI

使用phing + jenkins 实现CI

作者: 芒鞋儿 | 来源:发表于2021-02-22 22:37 被阅读0次

    如何在jenkins 使用phing

    1. install phing plugin for jenkins
    2. new item->config->git(your gitlab or github repo)
    3. build->invoke phing targets->use build.xml target name to invoke
      test: -> build now -> check console output

    安装plug in:
    http://localhost:48080/pluginManager/advanced
    troubleshooting:
    (https://blog.csdn.net/qq_16513911/article/details/89522132)

    使用的sample app: https://github.com/xieheng0915/test-repo-for-jenkins
    相关的build.xml 也在其中

    设定:


    设定phing

    执行结果:


    build结果

    其他参考资料:
    [关于phing 的用法]
    (https://qiita.com/nyanchu/items/d881c34c3112a2ffcdf6)
    [phing的官方文档:]
    (https://www.phing.info/guide/chunkhtml/index.html)
    Jenkins+phing

    上文摘要:

    1. So a version like 2.3.12 means the product version number 2, 3rd sprint for that version, and build 12th since the beginning of the sprint.
    2. By default, Jenkins increments the build number for every new build. Starting at 1. So the next version is 2, then 3, and so on.
    3. phing plugin for jenkins

    相关文章

      网友评论

          本文标题:使用phing + jenkins 实现CI

          本文链接:https://www.haomeiwen.com/subject/xpfgxltx.html