From e64c275b3b2c371aa8a060b2daf1d04f5ed58c45 Mon Sep 17 00:00:00 2001 From: areeqakbr Date: Tue, 25 Feb 2025 09:41:15 +0700 Subject: [PATCH] fixed --- .gitea/workflows/dev.yaml | 2 +- Jenkinsfile | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index fd66ef7..dc910bf 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -3,7 +3,7 @@ on: push: branches: - dev - + jobs: build: name: Build and push image diff --git a/Jenkinsfile b/Jenkinsfile index 7d178af..4f642e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,8 +23,6 @@ spec: """ } } -pipeline { - agent any // Runs on an Ubuntu-based Jenkins agent environment { REGISTRY_URL = 'git.winteraccess.id' @@ -42,7 +40,6 @@ pipeline { } } } - } stage('Get Short SHA') { steps { @@ -102,10 +99,11 @@ pipeline { } } } + } post { always { cleanWs() } } -} +} \ No newline at end of file