Username: Martin.H
TITLE
Git "additional deployment actions" sometimes not working
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Debian 10.7
PROBLEM DESCRIPTION
My additional commands (or here called "additional deployment actions") are not always executed after a commit. That breaks my Auto-Deploy setup.
STEPS TO REPRODUCE
ACTUAL RESULT
The testcommit will be successfully captured by Plesks Git extension but no commands will be triggered.
EXPECTED RESULT
Not just capture the testcommit, but also trigger the expected function in the desired folder
ANY ADDITIONAL INFORMATION
Sometimes it works if I set the comand to "yarn install" but as soon as anything else is included it breaks and do not trigger anything.
But if I log into SSH ALL the commands are working fine!
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Git "additional deployment actions" sometimes not working
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Debian 10.7
PROBLEM DESCRIPTION
My additional commands (or here called "additional deployment actions") are not always executed after a commit. That breaks my Auto-Deploy setup.
STEPS TO REPRODUCE
- Create a application that you place into "httpdocs/www/"
- set up Git and set deploy path to "httpdocs/www/"
- add additional commands like "yarn all" which you mapped to:
Code:"scripts": { "build": "hugo", "clearCache": "yarn cfcli -c .cfcli.yml purge", "all": "yarn install && yarn grunt && yarn build && yarn clearCache" },
- now push a testcommit
- for debug change "yarn all" to "yarn all 2>&1 > output.log" which will create a log (which is empty..)
ACTUAL RESULT
The testcommit will be successfully captured by Plesks Git extension but no commands will be triggered.
EXPECTED RESULT
Not just capture the testcommit, but also trigger the expected function in the desired folder
ANY ADDITIONAL INFORMATION
Sometimes it works if I set the comand to "yarn install" but as soon as anything else is included it breaks and do not trigger anything.
But if I log into SSH ALL the commands are working fine!
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug