update 3
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -3,7 +3,7 @@ pipeline {
|
|||||||
|
|
||||||
environment {
|
environment {
|
||||||
DEPLOY_HOST = "192.168.178.180" // your VM IP or hostname
|
DEPLOY_HOST = "192.168.178.180" // your VM IP or hostname
|
||||||
DEPLOY_USER = "deployuser" // user on the VM
|
DEPLOY_USER = "ubuntu" // user on the VM
|
||||||
APP_DIR = "/srv/mitm-webserver" // deploy target directory
|
APP_DIR = "/srv/mitm-webserver" // deploy target directory
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ pipeline {
|
|||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
echo "📦 Checking out source code from Gitea..."
|
echo "📦 Checking out source code from Gitea..."
|
||||||
git branch: 'main', url: 'https://gitea.yourdomain.com/youruser/mitm-webserver.git'
|
git branch: 'main', url: 'http://192.168.178.96:3000/marcus/mitm-webserver.git'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user