{
  "_class" : "hudson.model.FreeStyleProject",
  "actions" : [
    {
      "_class" : "hudson.model.ParametersDefinitionProperty",
      "parameterDefinitions" : [
        {
          "_class" : "hudson.model.StringParameterDefinition",
          "defaultParameterValue" : {
            "_class" : "hudson.model.StringParameterValue",
            "value" : "192.168.12.68"
          },
          "description" : "IP or hostname of the LogShip instance (ssh as root from the jenkins user; its key must be in authorized_keys — true for every clone of the golden template)",
          "name" : "TARGET_HOST",
          "type" : "StringParameterDefinition"
        },
        {
          "_class" : "hudson.model.StringParameterDefinition",
          "defaultParameterValue" : {
            "_class" : "hudson.model.StringParameterValue",
            "value" : "dev"
          },
          "description" : "Git branch to build (dev, main, feature/…)",
          "name" : "BRANCH",
          "type" : "StringParameterDefinition"
        }
      ]
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.JobDisplayAction"
    },
    {
      "_class" : "com.cloudbees.plugins.credentials.ViewCredentialsAction"
    }
  ],
  "description" : "Build the ERP frontend on the Jenkins controller and deploy it to ANY LogShip instance (demo clones etc.) over ssh.\u000d\u000aParameters: TARGET_HOST (instance ip), BRANCH (git branch). Script source of truth: reference/ci/deploy-instance.sh in the repo — paste it here again after changes.\u000d\u000aKeeps the instance .env + data/, regenerates NUXT_* overrides, pm2 restart from ecosystem, rollback on failed health check.",
  "displayName" : "erp-frontend-deploy-instance",
  "displayNameOrNull" : null,
  "fullDisplayName" : "erp-frontend-deploy-instance",
  "fullName" : "erp-frontend-deploy-instance",
  "name" : "erp-frontend-deploy-instance",
  "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/",
  "buildable" : true,
  "builds" : [
    {
      "_class" : "hudson.model.FreeStyleBuild",
      "number" : 3,
      "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/3/"
    },
    {
      "_class" : "hudson.model.FreeStyleBuild",
      "number" : 2,
      "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/2/"
    },
    {
      "_class" : "hudson.model.FreeStyleBuild",
      "number" : 1,
      "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/1/"
    }
  ],
  "color" : "blue",
  "firstBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 1,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/1/"
  },
  "healthReport" : [
    {
      "description" : "Build stability: 2 out of the last 3 builds failed.",
      "iconClassName" : "icon-health-20to39",
      "iconUrl" : "health-20to39.png",
      "score" : 33
    }
  ],
  "inQueue" : false,
  "keepDependencies" : false,
  "lastBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 3,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/3/"
  },
  "lastCompletedBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 3,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/3/"
  },
  "lastFailedBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 2,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/2/"
  },
  "lastStableBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 3,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/3/"
  },
  "lastSuccessfulBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 3,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/3/"
  },
  "lastUnstableBuild" : null,
  "lastUnsuccessfulBuild" : {
    "_class" : "hudson.model.FreeStyleBuild",
    "number" : 2,
    "url" : "https://jenkins.younex.de/job/erp-frontend-deploy-instance/2/"
  },
  "nextBuildNumber" : 4,
  "property" : [
    {
      "_class" : "jenkins.model.BuildDiscarderProperty"
    },
    {
      "_class" : "hudson.model.ParametersDefinitionProperty",
      "parameterDefinitions" : [
        {
          "_class" : "hudson.model.StringParameterDefinition",
          "defaultParameterValue" : {
            "_class" : "hudson.model.StringParameterValue",
            "name" : "TARGET_HOST",
            "value" : "192.168.12.68"
          },
          "description" : "IP or hostname of the LogShip instance (ssh as root from the jenkins user; its key must be in authorized_keys — true for every clone of the golden template)",
          "name" : "TARGET_HOST",
          "type" : "StringParameterDefinition"
        },
        {
          "_class" : "hudson.model.StringParameterDefinition",
          "defaultParameterValue" : {
            "_class" : "hudson.model.StringParameterValue",
            "name" : "BRANCH",
            "value" : "dev"
          },
          "description" : "Git branch to build (dev, main, feature/…)",
          "name" : "BRANCH",
          "type" : "StringParameterDefinition"
        }
      ]
    }
  ],
  "queueItem" : null,
  "concurrentBuild" : false,
  "disabled" : false,
  "downstreamProjects" : [
    
  ],
  "labelExpression" : "built-in",
  "scm" : {
    "_class" : "hudson.plugins.git.GitSCM"
  },
  "upstreamProjects" : [
    
  ]
}