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