Chmod
This commit is contained in:
@@ -79,6 +79,10 @@ pipeline {
|
|||||||
remoteDirectory: "$APP_REMOTE_PATH",
|
remoteDirectory: "$APP_REMOTE_PATH",
|
||||||
sourceFiles: "package-lock.json",
|
sourceFiles: "package-lock.json",
|
||||||
),
|
),
|
||||||
|
sshTransfer(
|
||||||
|
cleanRemote: false,
|
||||||
|
execCommand: "sh chmod +x $APP_REMOTE_PATH/start.sh"
|
||||||
|
),
|
||||||
sshTransfer(
|
sshTransfer(
|
||||||
cleanRemote: false,
|
cleanRemote: false,
|
||||||
execCommand: "sh $APP_REMOTE_PATH/docker/rebuild.sh"
|
execCommand: "sh $APP_REMOTE_PATH/docker/rebuild.sh"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd /home/node/app
|
cd /home/node/app
|
||||||
|
ls -la
|
||||||
echo "Lanzando migraciones e iniciando servidor"
|
echo "Lanzando migraciones e iniciando servidor"
|
||||||
npm config set @sf-alvar:registry https://git.savefamilygps.net/api/packages/SaveFamily/npm/
|
npm config set @sf-alvar:registry https://git.savefamilygps.net/api/packages/SaveFamily/npm/
|
||||||
npm install
|
npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user