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

gitea/kubernetes/jenkins integration. Directory empty

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Minor
    • Resolution: Incomplete
    • Component/s: gitea-plugin
    • Labels:
    • Environment:
      Jenkins ver. 2.237
      Gitea Plugin 1.2.0
      Gitea version 1.12.0+rc1
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          mecseid 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/

           

          Show
          mecseid 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/  
          Hide
          stephenconnolly 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.

          Show
          stephenconnolly 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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: