编程知识 cdmana.com

Jenkins front end project automation deployment

[ Record only , Without principle ]

  1. jenkins Configure front-end projects
    A new task -> Set task name -> choice [ Build a free style software project ]
    Configure the source code through git Pull ( Configuration needs to be implemented git account number )
    image.png
    Configure the build environment
    image.png
    Add build steps , such as install npm library , Execute various scripts
    image.png
    image.png
    Then push to the corresponding server directory
    image.png
    It needs to be in advance [ System management -> System settings ] Configuration through ssh Connected servers
    Select the server to push , And some operations after the push .( General operation , You need to open the operation permission on the server )
    image.png
    The end.

版权声明
本文为[southnan0]所创,转载请带上原文链接,感谢

Scroll to Top