diff --git a/vars/buildPodman.groovy b/vars/buildPodman.groovy index 85c7aa9..89811ae 100644 --- a/vars/buildPodman.groovy +++ b/vars/buildPodman.groovy @@ -11,9 +11,9 @@ def call(Map config=[:]) { stage('Prepare') { steps { // pull tags - withCredentials([gitUsernamePassword(credentialsId: 'gitea-jenkins-user')]) { - sh 'git fetch -q --tags ${GIT_URL}' - } + //withCredentials([gitUsernamePassword(credentialsId: 'gitea-jenkins-user')]) { + // sh 'git fetch -q --tags ${GIT_URL}' + //} // Optional project specific preparations sh 'make prepare' } @@ -22,6 +22,7 @@ def call(Map config=[:]) { // Build using rootless podman stage('Build') { steps { + sh 'env' sh 'make build' } }