{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "org.jenkinsci.plugins.ghprb.GhprbCause",
          "shortDescription" : "GitHub pull request #3141 of commit 0214a6f452db539f23491c521cab91ec6baa501a, no merge conflicts."
        }
      ]
    },
    {
      "_class" : "org.jenkinsci.plugins.ghprb.GhprbParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "sha1",
          "value" : "origin/pr/3141/merge"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommit",
          "value" : "0214a6f452db539f23491c521cab91ec6baa501a"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommitAuthor",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommitAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbAuthorRepoGitUrl",
          "value" : "https://github.com/dalehamel/bcc.git"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthor",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthorLogin",
          "value" : "yonghong-song"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthorLoginMention",
          "value" : "@yonghong-song"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullId",
          "value" : "3141"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTargetBranch",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbSourceBranch",
          "value" : "quay-push"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GIT_BRANCH",
          "value" : "quay-push"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorLogin",
          "value" : "dalehamel"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorLoginMention",
          "value" : "@dalehamel"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullDescription",
          "value" : "GitHub pull request #3141 of commit 0214a6f452db539f23491c521cab91ec6baa501a, no merge conflicts."
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullTitle",
          "value" : "Push additional build artifacts in CI"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullLink",
          "value" : "https://github.com/iovisor/bcc/pull/3141"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullLongDescription",
          "value" : "This enables pushing docker images to quay.io, but I will need to have github admin of iovisor/bcc become an admin of the quay repository, in order to add the necessary secret for this to push the images.\\r\\n\\r\\nI believe this will be very useful, for projects that need an up-to-date image pulled from CI on github actions, and make it easy to bisect revisions, using the docker repo as an artifact repository. In addition to docker images (for distribution purposes only, really), this also publishes debian packages as part of a tarball in the github actions output https://github.com/dalehamel/bcc/actions/runs/311964261\\r\\n\\r\\nThis builds on  @alban 's approach of guarding the image build with a variable, but replaces the explicit variable by detecting if `QUAY_TOKEN` is present or absent. The generic dockerhub approach is still available, but I've augmented it slightly, and moved it to a separate github workflow. Since I have set this up on my personal repo by adding my own personal token, I can demonstrate the images that this publishes and tags: https://quay.io/repository/dalehamel/bcc?tab=tags\\r\\n\\r\\nAs an example, to test out the latest ubuntu focal (20.04) image:\\r\\n\\r\\n```\\r\\ndocker run -ti quay.io/dalehamel/bcc:quay-push-focal-release bash\\r\\nls /root/bcc\\r\\nls /usr/share/bcc\\r\\n```\\r\\n\\r\\nI have set this up to build packages for all the most recent ubuntu LTS releases, but the process is generic enough that explicit builds for various LTS debian releases could be done fairly easily as well. I happened to add ubuntu focal support to the debian control file, as I think it is safe to do so for a new LTS release, and this is implicitly adding a CI check for this build.\\r\\n\\r\\nThis builds `release` artifacts using the existing debian build script, and results in a container being pushed and tagged in various ways (by branch, by commit, etc). This allows the user to fetch from quay.io\\r\\n\\r\\nWe used to have https://repo.iovisor.org/apt/ as a way to get reasonably up-to-date apt packages, this serves as a substitute for that. The latest apt package published to this repo is for bcc 0.10.0, for ubuntu bionic."
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbCommentBody",
          "value" : "[buildbot, test this please]"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbGhRepository",
          "value" : "iovisor/bcc"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbCredentialsId",
          "value" : "6d3daf13-69b8-48b1-9c8f-ec5353264113"
        }
      ]
    },
    {
      "_class" : "hudson.plugins.git.GitTagAction"
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : "<a title=\"Push additional build artifacts in CI\" href=\"https://github.com/iovisor/bcc/pull/3141\">PR #3141</a>: Push additional build artif...",
  "displayName" : "#726",
  "duration" : 1249494,
  "estimatedDuration" : 7460664,
  "executor" : None,
  "fullDisplayName" : "bcc-pr #726",
  "id" : "726",
  "keepLog" : False,
  "number" : 726,
  "queueId" : 5816,
  "result" : "SUCCESS",
  "timestamp" : 1603253629043,
  "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/726/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      
    ],
    "kind" : "git"
  },
  "culprits" : [
    
  ],
  "runs" : [
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc25/726/"
    },
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc26/726/"
    },
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc27/726/"
    },
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc28/726/"
    },
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=ubuntu1604/726/"
    },
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=ubuntu1710/726/"
    },
    {
      "number" : 726,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=ubuntu1804/726/"
    }
  ]
}