diff --git a/Jenkinsfile b/Jenkinsfile index e975f9a..3d2908d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,12 +14,12 @@ pipeline { } stage('Checkout SCM') { steps { - git branch: 'main', url: 'https://git.ruff.co.il/tom/otomai-docker.git' + git branch: 'main', url: 'https://git.ruff.co.il/amai.ig/otomai.git' } } stage('Download Latest release') { steps { - sh 'curl -LO https://github.com/dvtzr/otomai/releases/latest/download/Otomai-web.zip' + sh 'curl -LO https://git.ruff.co.il/amai.ig/otomai/releases/latest/download/Otomai-web.zip' } } stage('Create web game directory') { @@ -37,9 +37,9 @@ pipeline { dir('./') { script { // Define image name and registry details - def imageNameId = "git.ruff.co.il/tom/otomai-web:1.${env.BUILD_ID}" - def imageNameLatest = "git.ruff.co.il/tom/otomai-web:latest" - def registryCredentialsId = 'a9635f55-73fb-4fdb-9f0a-19bc48033164' + def imageNameId = "git.ruff.co.il/amai.ig/otomai:1.${env.BUILD_ID}" + def imageNameLatest = "git.ruff.co.il/amai.ig/otomai:latest" + def registryCredentialsId = '7e506860-ca64-47bd-92a8-1a591dd12cba' // Login to the Docker registry with credentials docker.withRegistry('https://git.ruff.co.il', registryCredentialsId) { @@ -57,7 +57,7 @@ pipeline { } stage('Clean Old Container') { steps { - catchError(buildResult: 'SUCCESS',message: 'Container does\'nt exist on host, skipping...', stageResult: 'ABORTED') { + catchError(buildResult: 'SUCCESS',message: 'Container doesn\'t exist on host, skipping...', stageResult: 'ABORTED') { sh 'docker stop otomai' sh 'docker rm otomai' } @@ -67,8 +67,8 @@ pipeline { steps { script { // Define registry credentials and image name - def registryCredentialsId = 'a9635f55-73fb-4fdb-9f0a-19bc48033164' - def imageName = 'git.ruff.co.il/tom/otomai-web:latest' + def registryCredentialsId = '7e506860-ca64-47bd-92a8-1a591dd12cba' + def imageName = 'git.ruff.co.il/amai.ig/otomai:latest' // Login to registry docker.withRegistry('https://git.ruff.co.il', registryCredentialsId) { diff --git a/Otomai-1.0-web.zip b/Otomai-1.0-web.zip deleted file mode 100644 index e24c661..0000000 Binary files a/Otomai-1.0-web.zip and /dev/null differ