Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62367

gitea/kubernetes/jenkins integration. Directory empty

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • gitea-plugin
    • Jenkins ver. 2.237
      Gitea Plugin 1.2.0
      Gitea version 1.12.0+rc1

      The issue Im seeing is that when I attempt a build off of the master branch. The directory is empty. I can see that the build picks up my jenkinsfile. It even registers the commit and will call back to gitea to say the build failed. However ultimately there is nothing in the directory when I perform a build.

      I have attached the console log showing the directory being empty. I also attached the jenkinsfile I used to try a simple build. I have looked at many guides around how to do this type of integration and have come to the conclusion that there is something else wrong.

       

      Please let me know if you need any further information.

          [JENKINS-62367] gitea/kubernetes/jenkins integration. Directory empty

          Daniel Mecsei added a comment -

          In your Jenkinsfile you use the scripted pipeline, where you have to checkout the git branch as it described here:

          https://www.jenkins.io/doc/book/pipeline/jenkinsfile/

           

          Daniel Mecsei added a comment - In your Jenkinsfile you use the scripted pipeline, where you have to checkout the git branch as it described here: https://www.jenkins.io/doc/book/pipeline/jenkinsfile/  

          Closing as Incomplete. This status means the original reporter has follow-up actions to perform. If the follow-up actions indicate that the issue is still present, please reopen this issue.

          Stephen Connolly added a comment - Closing as Incomplete. This status means the original reporter has follow-up actions to perform. If the follow-up actions indicate that the issue is still present, please reopen this issue.

            Unassigned Unassigned
            warrenp warren Paul
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: