Jenkins使用五:創建部署任務

  創建部署任務   選擇運行節點   選擇使用shell   # 如果是持續進程,這裏最好加一個kill進程的命令 判斷如果/root/production目錄存在,就刪除 if [ -d /root/production ];then     rm -rf /root/production fi 創建/root/production目錄 mkdir -p /root/production 進入
相關文章
相關標籤/搜索