“Jenkins实现PHP持续集成部署”的版本间的差异
跳到导航
跳到搜索
第4行: | 第4行: | ||
= jenkins alpine php env= | = jenkins alpine php env= | ||
<pre> | <pre> | ||
+ | login into alpine docker | ||
+ | apk add php php-pear composer php7-fpm php7-json php7-iconv php7-curl php7-pdo php7-gd php7-fileinfo php7-bcmath php7-dom php7-tokenizer php7-ctype php7-simplexml php7-x | ||
+ | mlwriter php7-xmlreader php7-zip php7-session | ||
+ | |||
+ | |||
+ | |||
+ | </pre> | ||
+ | =phing= | ||
+ | <pre> | ||
+ | |||
+ | 这个成功的 但是这个 是官方说 deprecated 的 哈哈 | ||
+ | Phing 随 PERA 扩展包发布,需要使用 PEAR 包管理程序来安装 | ||
+ | pear channel-discover pear.phing.info | ||
+ | pear install [--alldeps] phing/phing | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </pre> | ||
+ | =jenkins php plugin= | ||
+ | <pre> | ||
+ | Phing plugin | ||
+ | |||
+ | |||
+ | </pre> | ||
+ | |||
+ | =trouble= | ||
+ | <pre> | ||
+ | php artisan migrate --force' | ||
+ | PHP Warning: require(/var/package/sns-information/release/804/vendor/autoload.php): failed to open stream: No such file or directory in /var/package/sns-information/release/804/artisan on line 18 | ||
+ | PHP Fatal error: require(): Failed opening required '/var/package/sns-information/release/804/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/package/sns-information/release/804/artisan on line 18 | ||
+ | SSH: EXEC: completed after 80,843 ms | ||
</pre> | </pre> |
2020年11月25日 (三) 10:28的版本
jenkins ins
jenkins alpine php env
login into alpine docker apk add php php-pear composer php7-fpm php7-json php7-iconv php7-curl php7-pdo php7-gd php7-fileinfo php7-bcmath php7-dom php7-tokenizer php7-ctype php7-simplexml php7-x mlwriter php7-xmlreader php7-zip php7-session
phing
这个成功的 但是这个 是官方说 deprecated 的 哈哈 Phing 随 PERA 扩展包发布,需要使用 PEAR 包管理程序来安装 pear channel-discover pear.phing.info pear install [--alldeps] phing/phing
jenkins php plugin
Phing plugin
trouble
php artisan migrate --force' PHP Warning: require(/var/package/sns-information/release/804/vendor/autoload.php): failed to open stream: No such file or directory in /var/package/sns-information/release/804/artisan on line 18 PHP Fatal error: require(): Failed opening required '/var/package/sns-information/release/804/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/package/sns-information/release/804/artisan on line 18 SSH: EXEC: completed after 80,843 ms