diff --git a/Jenkinsfile b/Jenkinsfile index 3572a9e..08b734e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,12 +25,12 @@ pipeline { script { def status_s = sh(returnStatus: true, script: 'grep $(docker --context pi502 compose ps | tail -n1 | awk \'{ print $2 }\') docker-compose.yml') - if (status_s != 0) { + //if (status_s != 0) { sh 'docker --context pi502 compose up -d' sh 'docker --context pi502 compose ps' - } else { - echo 'skip' - } + //} else { + // echo 'skip' + //} } } } diff --git a/docker-compose.yml b/docker-compose.yml index 6272eee..904359e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,5 +25,5 @@ services: - UP_UNIFI_CONTROLLER_0_SAVE_EVENTS=true - UP_UNIFI_CONTROLLER_0_SAVE_IDS=true - UP_UNIFI_CONTROLLER_0_SAVE_SITES=true - - UP_UNIFI_CONTROLLER_0_URL=https://unifi.in.thelinuxpro.net:8443/network + - UP_UNIFI_CONTROLLER_0_URL=https://unifi.in.thelinuxpro.net:443/network - UP_UNIFI_CONTROLLER_0_USER=unpoller