Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest and latest-tmp tags published "publish_github_release" add-on trigger build #45

Open
jcfr opened this issue Apr 12, 2017 · 7 comments
Assignees
Labels

Comments

@jcfr
Copy link
Contributor

jcfr commented Apr 12, 2017

AppVeyor discussion: http://help.appveyor.com/discussions/questions/2174-exclude-tags-by-name

After modifying the config file appveyor.yml (see e973b72) following these instructions:

2016 04 12_appveyor-tag-not-excluded_config_diff

Updated tags latest and latest-tmp still trigger an AppVeyor build each even if done in a follow up commit (in that particular case 9a65d29):

2016 04 12_appveyor-tag-not-excluded_build_history

@jcfr jcfr added the bug label Apr 12, 2017
@jcfr jcfr self-assigned this Apr 12, 2017
@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

You will find below the payloads received after associating a http://requestb.in/ with the push and pull request webhook event :

Table of Content: Webhook payloads

(1) Push Event: Updated refs/heads/master
(2) Push Event: Created refs/tags/latest-tmp
(3) Push Event: Deleted refs/tags/latest
(4) Push Event: Created refs/tags/latest
(5) Push Event: Deleted refs/tags/latest-tmp

And associated Appveyor build json description

(1) Push Event: Updated refs/heads/master

{
  "ref":"refs/heads/master",
  "before":"e5628a0e8cb8962a76906c68408e99e00e375b76",
  "after":"a6b206dbab8391c890fbd536b25c98aa800a254b",
  "created":false,
  "deleted":false,
  "forced":false,
  "base_ref":null,
  "compare":"https://github.com/scikit-build/scikit-ci-addons/compare/e5628a0e8cb8...a6b206dbab83",
  "commits":[
    {
      "id":"a6b206dbab8391c890fbd536b25c98aa800a254b",
      "tree_id":"05c7b906481f04f90ed0c0b0f92271642fef611e",
      "distinct":true,
      "message":"appveyor: Display env",
      "timestamp":"2017-04-12T22:15:16-04:00",
      "url":"https://github.com/scikit-build/scikit-ci-addons/commit/a6b206dbab8391c890fbd536b25c98aa800a254b",
      "author":{
        "name":"Jean-Christophe Fillion-Robin",
        "email":"[email protected]",
        "username":"jcfr"
      },
      "committer":{
        "name":"Jean-Christophe Fillion-Robin",
        "email":"[email protected]",
        "username":"jcfr"
      },
      "added":[

      ],
      "removed":[

      ],
      "modified":[
        "appveyor.yml"
      ]
    }
  ],
  "head_commit":{
    "id":"a6b206dbab8391c890fbd536b25c98aa800a254b",
    "tree_id":"05c7b906481f04f90ed0c0b0f92271642fef611e",
    "distinct":true,
    "message":"appveyor: Display env",
    "timestamp":"2017-04-12T22:15:16-04:00",
    "url":"https://github.com/scikit-build/scikit-ci-addons/commit/a6b206dbab8391c890fbd536b25c98aa800a254b",
    "author":{
      "name":"Jean-Christophe Fillion-Robin",
      "email":"[email protected]",
      "username":"jcfr"
    },
    "committer":{
      "name":"Jean-Christophe Fillion-Robin",
      "email":"[email protected]",
      "username":"jcfr"
    },
    "added":[

    ],
    "removed":[

    ],
    "modified":[
      "appveyor.yml"
    ]
  },
  "repository":{
    "id":70451850,
    "name":"scikit-ci-addons",
    "full_name":"scikit-build/scikit-ci-addons",
    "owner":{
      "name":"scikit-build",
      "email":null,
      "login":"scikit-build",
      "id":8144855,
      "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
      "gravatar_id":"",
      "url":"https://api.github.com/users/scikit-build",
      "html_url":"https://github.com/scikit-build",
      "followers_url":"https://api.github.com/users/scikit-build/followers",
      "following_url":"https://api.github.com/users/scikit-build/following{/other_user}",
      "gists_url":"https://api.github.com/users/scikit-build/gists{/gist_id}",
      "starred_url":"https://api.github.com/users/scikit-build/starred{/owner}{/repo}",
      "subscriptions_url":"https://api.github.com/users/scikit-build/subscriptions",
      "organizations_url":"https://api.github.com/users/scikit-build/orgs",
      "repos_url":"https://api.github.com/users/scikit-build/repos",
      "events_url":"https://api.github.com/users/scikit-build/events{/privacy}",
      "received_events_url":"https://api.github.com/users/scikit-build/received_events",
      "type":"Organization",
      "site_admin":false
    },
    "private":false,
    "html_url":"https://github.com/scikit-build/scikit-ci-addons",
    "description":"Command line tool and a set of scripts useful to help drive CI",
    "fork":false,
    "url":"https://github.com/scikit-build/scikit-ci-addons",
    "forks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/forks",
    "keys_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/keys{/key_id}",
    "collaborators_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/collaborators{/collaborator}",
    "teams_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/teams",
    "hooks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/hooks",
    "issue_events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/events{/number}",
    "events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/events",
    "assignees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/assignees{/user}",
    "branches_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/branches{/branch}",
    "tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/tags",
    "blobs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/blobs{/sha}",
    "git_tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/tags{/sha}",
    "git_refs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/refs{/sha}",
    "trees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/trees{/sha}",
    "statuses_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/statuses/{sha}",
    "languages_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/languages",
    "stargazers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/stargazers",
    "contributors_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contributors",
    "subscribers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscribers",
    "subscription_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscription",
    "commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/commits{/sha}",
    "git_commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/commits{/sha}",
    "comments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/comments{/number}",
    "issue_comment_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/comments{/number}",
    "contents_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contents/{+path}",
    "compare_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/compare/{base}...{head}",
    "merges_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/merges",
    "archive_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/{archive_format}{/ref}",
    "downloads_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/downloads",
    "issues_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues{/number}",
    "pulls_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/pulls{/number}",
    "milestones_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/milestones{/number}",
    "notifications_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/notifications{?since,all,participating}",
    "labels_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/labels{/name}",
    "releases_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/releases{/id}",
    "deployments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/deployments",
    "created_at":1476073518,
    "updated_at":"2017-03-08T01:35:54Z",
    "pushed_at":1492049775,
    "git_url":"git://github.com/scikit-build/scikit-ci-addons.git",
    "ssh_url":"[email protected]:scikit-build/scikit-ci-addons.git",
    "clone_url":"https://github.com/scikit-build/scikit-ci-addons.git",
    "svn_url":"https://github.com/scikit-build/scikit-ci-addons",
    "homepage":"http://scikit-ci-addons.readthedocs.org/",
    "size":227,
    "stargazers_count":0,
    "watchers_count":0,
    "language":"Python",
    "has_issues":true,
    "has_projects":false,
    "has_downloads":true,
    "has_wiki":false,
    "has_pages":false,
    "forks_count":1,
    "mirror_url":null,
    "open_issues_count":9,
    "forks":1,
    "open_issues":9,
    "watchers":0,
    "default_branch":"master",
    "stargazers":0,
    "master_branch":"master",
    "organization":"scikit-build"
  },
  "pusher":{
    "name":"jcfr",
    "email":"[email protected]"
  },
  "organization":{
    "login":"scikit-build",
    "id":8144855,
    "url":"https://api.github.com/orgs/scikit-build",
    "repos_url":"https://api.github.com/orgs/scikit-build/repos",
    "events_url":"https://api.github.com/orgs/scikit-build/events",
    "hooks_url":"https://api.github.com/orgs/scikit-build/hooks",
    "issues_url":"https://api.github.com/orgs/scikit-build/issues",
    "members_url":"https://api.github.com/orgs/scikit-build/members{/member}",
    "public_members_url":"https://api.github.com/orgs/scikit-build/public_members{/member}",
    "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
    "description":null
  },
  "sender":{
    "login":"jcfr",
    "id":219043,
    "avatar_url":"https://avatars3.githubusercontent.com/u/219043?v=3",
    "gravatar_id":"",
    "url":"https://api.github.com/users/jcfr",
    "html_url":"https://github.com/jcfr",
    "followers_url":"https://api.github.com/users/jcfr/followers",
    "following_url":"https://api.github.com/users/jcfr/following{/other_user}",
    "gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}",
    "starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}",
    "subscriptions_url":"https://api.github.com/users/jcfr/subscriptions",
    "organizations_url":"https://api.github.com/users/jcfr/orgs",
    "repos_url":"https://api.github.com/users/jcfr/repos",
    "events_url":"https://api.github.com/users/jcfr/events{/privacy}",
    "received_events_url":"https://api.github.com/users/jcfr/received_events",
    "type":"User",
    "site_admin":false
  }
}

@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

Table of Content: Webhook payloads

(1) Push Event: Updated refs/heads/master
(2) Push Event: Created refs/tags/latest-tmp
(3) Push Event: Deleted refs/tags/latest
(4) Push Event: Created refs/tags/latest
(5) Push Event: Deleted refs/tags/latest-tmp

And associated Appveyor build json description

(2) Push Event: Created refs/tags/latest-tmp

{
  "ref":"refs/tags/latest-tmp",
  "before":"0000000000000000000000000000000000000000",
  "after":"a6b206dbab8391c890fbd536b25c98aa800a254b",
  "created":true,
  "deleted":false,
  "forced":false,
  "base_ref":"refs/heads/master",
  "compare":"https://github.com/scikit-build/scikit-ci-addons/compare/latest-tmp",
  "commits":[

  ],
  "head_commit":{
    "id":"a6b206dbab8391c890fbd536b25c98aa800a254b",
    "tree_id":"05c7b906481f04f90ed0c0b0f92271642fef611e",
    "distinct":true,
    "message":"appveyor: Display env",
    "timestamp":"2017-04-12T22:15:16-04:00",
    "url":"https://github.com/scikit-build/scikit-ci-addons/commit/a6b206dbab8391c890fbd536b25c98aa800a254b",
    "author":{
      "name":"Jean-Christophe Fillion-Robin",
      "email":"[email protected]",
      "username":"jcfr"
    },
    "committer":{
      "name":"Jean-Christophe Fillion-Robin",
      "email":"[email protected]",
      "username":"jcfr"
    },
    "added":[

    ],
    "removed":[

    ],
    "modified":[
      "appveyor.yml"
    ]
  },
  "repository":{
    "id":70451850,
    "name":"scikit-ci-addons",
    "full_name":"scikit-build/scikit-ci-addons",
    "owner":{
      "name":"scikit-build",
      "email":null,
      "login":"scikit-build",
      "id":8144855,
      "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
      "gravatar_id":"",
      "url":"https://api.github.com/users/scikit-build",
      "html_url":"https://github.com/scikit-build",
      "followers_url":"https://api.github.com/users/scikit-build/followers",
      "following_url":"https://api.github.com/users/scikit-build/following{/other_user}",
      "gists_url":"https://api.github.com/users/scikit-build/gists{/gist_id}",
      "starred_url":"https://api.github.com/users/scikit-build/starred{/owner}{/repo}",
      "subscriptions_url":"https://api.github.com/users/scikit-build/subscriptions",
      "organizations_url":"https://api.github.com/users/scikit-build/orgs",
      "repos_url":"https://api.github.com/users/scikit-build/repos",
      "events_url":"https://api.github.com/users/scikit-build/events{/privacy}",
      "received_events_url":"https://api.github.com/users/scikit-build/received_events",
      "type":"Organization",
      "site_admin":false
    },
    "private":false,
    "html_url":"https://github.com/scikit-build/scikit-ci-addons",
    "description":"Command line tool and a set of scripts useful to help drive CI",
    "fork":false,
    "url":"https://github.com/scikit-build/scikit-ci-addons",
    "forks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/forks",
    "keys_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/keys{/key_id}",
    "collaborators_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/collaborators{/collaborator}",
    "teams_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/teams",
    "hooks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/hooks",
    "issue_events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/events{/number}",
    "events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/events",
    "assignees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/assignees{/user}",
    "branches_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/branches{/branch}",
    "tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/tags",
    "blobs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/blobs{/sha}",
    "git_tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/tags{/sha}",
    "git_refs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/refs{/sha}",
    "trees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/trees{/sha}",
    "statuses_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/statuses/{sha}",
    "languages_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/languages",
    "stargazers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/stargazers",
    "contributors_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contributors",
    "subscribers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscribers",
    "subscription_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscription",
    "commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/commits{/sha}",
    "git_commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/commits{/sha}",
    "comments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/comments{/number}",
    "issue_comment_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/comments{/number}",
    "contents_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contents/{+path}",
    "compare_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/compare/{base}...{head}",
    "merges_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/merges",
    "archive_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/{archive_format}{/ref}",
    "downloads_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/downloads",
    "issues_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues{/number}",
    "pulls_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/pulls{/number}",
    "milestones_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/milestones{/number}",
    "notifications_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/notifications{?since,all,participating}",
    "labels_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/labels{/name}",
    "releases_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/releases{/id}",
    "deployments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/deployments",
    "created_at":1476073518,
    "updated_at":"2017-03-08T01:35:54Z",
    "pushed_at":1492049832,
    "git_url":"git://github.com/scikit-build/scikit-ci-addons.git",
    "ssh_url":"[email protected]:scikit-build/scikit-ci-addons.git",
    "clone_url":"https://github.com/scikit-build/scikit-ci-addons.git",
    "svn_url":"https://github.com/scikit-build/scikit-ci-addons",
    "homepage":"http://scikit-ci-addons.readthedocs.org/",
    "size":227,
    "stargazers_count":0,
    "watchers_count":0,
    "language":"Python",
    "has_issues":true,
    "has_projects":false,
    "has_downloads":true,
    "has_wiki":false,
    "has_pages":false,
    "forks_count":1,
    "mirror_url":null,
    "open_issues_count":9,
    "forks":1,
    "open_issues":9,
    "watchers":0,
    "default_branch":"master",
    "stargazers":0,
    "master_branch":"master",
    "organization":"scikit-build"
  },
  "pusher":{
    "name":"jcfr",
    "email":"[email protected]"
  },
  "organization":{
    "login":"scikit-build",
    "id":8144855,
    "url":"https://api.github.com/orgs/scikit-build",
    "repos_url":"https://api.github.com/orgs/scikit-build/repos",
    "events_url":"https://api.github.com/orgs/scikit-build/events",
    "hooks_url":"https://api.github.com/orgs/scikit-build/hooks",
    "issues_url":"https://api.github.com/orgs/scikit-build/issues",
    "members_url":"https://api.github.com/orgs/scikit-build/members{/member}",
    "public_members_url":"https://api.github.com/orgs/scikit-build/public_members{/member}",
    "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
    "description":null
  },
  "sender":{
    "login":"jcfr",
    "id":219043,
    "avatar_url":"https://avatars3.githubusercontent.com/u/219043?v=3",
    "gravatar_id":"",
    "url":"https://api.github.com/users/jcfr",
    "html_url":"https://github.com/jcfr",
    "followers_url":"https://api.github.com/users/jcfr/followers",
    "following_url":"https://api.github.com/users/jcfr/following{/other_user}",
    "gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}",
    "starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}",
    "subscriptions_url":"https://api.github.com/users/jcfr/subscriptions",
    "organizations_url":"https://api.github.com/users/jcfr/orgs",
    "repos_url":"https://api.github.com/users/jcfr/repos",
    "events_url":"https://api.github.com/users/jcfr/events{/privacy}",
    "received_events_url":"https://api.github.com/users/jcfr/received_events",
    "type":"User",
    "site_admin":false
  }
}

@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

Table of Content: Webhook payloads

(1) Push Event: Updated refs/heads/master
(2) Push Event: Created refs/tags/latest-tmp
(3) Push Event: Deleted refs/tags/latest
(4) Push Event: Created refs/tags/latest
(5) Push Event: Deleted refs/tags/latest-tmp

And associated Appveyor build json description

(3) Push Event: Deleted refs/tags/latest

{
  "ref":"refs/tags/latest",
  "before":"e5628a0e8cb8962a76906c68408e99e00e375b76",
  "after":"0000000000000000000000000000000000000000",
  "created":false,
  "deleted":true,
  "forced":false,
  "base_ref":null,
  "compare":"https://github.com/scikit-build/scikit-ci-addons/compare/e5628a0e8cb8...000000000000",
  "commits":[

  ],
  "head_commit":null,
  "repository":{
    "id":70451850,
    "name":"scikit-ci-addons",
    "full_name":"scikit-build/scikit-ci-addons",
    "owner":{
      "name":"scikit-build",
      "email":null,
      "login":"scikit-build",
      "id":8144855,
      "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
      "gravatar_id":"",
      "url":"https://api.github.com/users/scikit-build",
      "html_url":"https://github.com/scikit-build",
      "followers_url":"https://api.github.com/users/scikit-build/followers",
      "following_url":"https://api.github.com/users/scikit-build/following{/other_user}",
      "gists_url":"https://api.github.com/users/scikit-build/gists{/gist_id}",
      "starred_url":"https://api.github.com/users/scikit-build/starred{/owner}{/repo}",
      "subscriptions_url":"https://api.github.com/users/scikit-build/subscriptions",
      "organizations_url":"https://api.github.com/users/scikit-build/orgs",
      "repos_url":"https://api.github.com/users/scikit-build/repos",
      "events_url":"https://api.github.com/users/scikit-build/events{/privacy}",
      "received_events_url":"https://api.github.com/users/scikit-build/received_events",
      "type":"Organization",
      "site_admin":false
    },
    "private":false,
    "html_url":"https://github.com/scikit-build/scikit-ci-addons",
    "description":"Command line tool and a set of scripts useful to help drive CI",
    "fork":false,
    "url":"https://github.com/scikit-build/scikit-ci-addons",
    "forks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/forks",
    "keys_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/keys{/key_id}",
    "collaborators_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/collaborators{/collaborator}",
    "teams_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/teams",
    "hooks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/hooks",
    "issue_events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/events{/number}",
    "events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/events",
    "assignees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/assignees{/user}",
    "branches_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/branches{/branch}",
    "tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/tags",
    "blobs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/blobs{/sha}",
    "git_tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/tags{/sha}",
    "git_refs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/refs{/sha}",
    "trees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/trees{/sha}",
    "statuses_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/statuses/{sha}",
    "languages_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/languages",
    "stargazers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/stargazers",
    "contributors_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contributors",
    "subscribers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscribers",
    "subscription_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscription",
    "commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/commits{/sha}",
    "git_commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/commits{/sha}",
    "comments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/comments{/number}",
    "issue_comment_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/comments{/number}",
    "contents_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contents/{+path}",
    "compare_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/compare/{base}...{head}",
    "merges_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/merges",
    "archive_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/{archive_format}{/ref}",
    "downloads_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/downloads",
    "issues_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues{/number}",
    "pulls_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/pulls{/number}",
    "milestones_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/milestones{/number}",
    "notifications_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/notifications{?since,all,participating}",
    "labels_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/labels{/name}",
    "releases_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/releases{/id}",
    "deployments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/deployments",
    "created_at":1476073518,
    "updated_at":"2017-03-08T01:35:54Z",
    "pushed_at":1492049834,
    "git_url":"git://github.com/scikit-build/scikit-ci-addons.git",
    "ssh_url":"[email protected]:scikit-build/scikit-ci-addons.git",
    "clone_url":"https://github.com/scikit-build/scikit-ci-addons.git",
    "svn_url":"https://github.com/scikit-build/scikit-ci-addons",
    "homepage":"http://scikit-ci-addons.readthedocs.org/",
    "size":227,
    "stargazers_count":0,
    "watchers_count":0,
    "language":"Python",
    "has_issues":true,
    "has_projects":false,
    "has_downloads":true,
    "has_wiki":false,
    "has_pages":false,
    "forks_count":1,
    "mirror_url":null,
    "open_issues_count":9,
    "forks":1,
    "open_issues":9,
    "watchers":0,
    "default_branch":"master",
    "stargazers":0,
    "master_branch":"master",
    "organization":"scikit-build"
  },
  "pusher":{
    "name":"jcfr",
    "email":"[email protected]"
  },
  "organization":{
    "login":"scikit-build",
    "id":8144855,
    "url":"https://api.github.com/orgs/scikit-build",
    "repos_url":"https://api.github.com/orgs/scikit-build/repos",
    "events_url":"https://api.github.com/orgs/scikit-build/events",
    "hooks_url":"https://api.github.com/orgs/scikit-build/hooks",
    "issues_url":"https://api.github.com/orgs/scikit-build/issues",
    "members_url":"https://api.github.com/orgs/scikit-build/members{/member}",
    "public_members_url":"https://api.github.com/orgs/scikit-build/public_members{/member}",
    "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
    "description":null
  },
  "sender":{
    "login":"jcfr",
    "id":219043,
    "avatar_url":"https://avatars3.githubusercontent.com/u/219043?v=3",
    "gravatar_id":"",
    "url":"https://api.github.com/users/jcfr",
    "html_url":"https://github.com/jcfr",
    "followers_url":"https://api.github.com/users/jcfr/followers",
    "following_url":"https://api.github.com/users/jcfr/following{/other_user}",
    "gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}",
    "starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}",
    "subscriptions_url":"https://api.github.com/users/jcfr/subscriptions",
    "organizations_url":"https://api.github.com/users/jcfr/orgs",
    "repos_url":"https://api.github.com/users/jcfr/repos",
    "events_url":"https://api.github.com/users/jcfr/events{/privacy}",
    "received_events_url":"https://api.github.com/users/jcfr/received_events",
    "type":"User",
    "site_admin":false
  }
}

@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

Table of Content: Webhook payloads

(1) Push Event: Updated refs/heads/master
(2) Push Event: Created refs/tags/latest-tmp
(3) Push Event: Deleted refs/tags/latest
(4) Push Event: Created refs/tags/latest
(5) Push Event: Deleted refs/tags/latest-tmp

And associated Appveyor build json description

(4) Push Event: Created refs/tags/latest

{
  "ref":"refs/tags/latest",
  "before":"0000000000000000000000000000000000000000",
  "after":"a6b206dbab8391c890fbd536b25c98aa800a254b",
  "created":true,
  "deleted":false,
  "forced":false,
  "base_ref":"refs/heads/master",
  "compare":"https://github.com/scikit-build/scikit-ci-addons/compare/latest",
  "commits":[

  ],
  "head_commit":{
    "id":"a6b206dbab8391c890fbd536b25c98aa800a254b",
    "tree_id":"05c7b906481f04f90ed0c0b0f92271642fef611e",
    "distinct":true,
    "message":"appveyor: Display env",
    "timestamp":"2017-04-12T22:15:16-04:00",
    "url":"https://github.com/scikit-build/scikit-ci-addons/commit/a6b206dbab8391c890fbd536b25c98aa800a254b",
    "author":{
      "name":"Jean-Christophe Fillion-Robin",
      "email":"[email protected]",
      "username":"jcfr"
    },
    "committer":{
      "name":"Jean-Christophe Fillion-Robin",
      "email":"[email protected]",
      "username":"jcfr"
    },
    "added":[

    ],
    "removed":[

    ],
    "modified":[
      "appveyor.yml"
    ]
  },
  "repository":{
    "id":70451850,
    "name":"scikit-ci-addons",
    "full_name":"scikit-build/scikit-ci-addons",
    "owner":{
      "name":"scikit-build",
      "email":null,
      "login":"scikit-build",
      "id":8144855,
      "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
      "gravatar_id":"",
      "url":"https://api.github.com/users/scikit-build",
      "html_url":"https://github.com/scikit-build",
      "followers_url":"https://api.github.com/users/scikit-build/followers",
      "following_url":"https://api.github.com/users/scikit-build/following{/other_user}",
      "gists_url":"https://api.github.com/users/scikit-build/gists{/gist_id}",
      "starred_url":"https://api.github.com/users/scikit-build/starred{/owner}{/repo}",
      "subscriptions_url":"https://api.github.com/users/scikit-build/subscriptions",
      "organizations_url":"https://api.github.com/users/scikit-build/orgs",
      "repos_url":"https://api.github.com/users/scikit-build/repos",
      "events_url":"https://api.github.com/users/scikit-build/events{/privacy}",
      "received_events_url":"https://api.github.com/users/scikit-build/received_events",
      "type":"Organization",
      "site_admin":false
    },
    "private":false,
    "html_url":"https://github.com/scikit-build/scikit-ci-addons",
    "description":"Command line tool and a set of scripts useful to help drive CI",
    "fork":false,
    "url":"https://github.com/scikit-build/scikit-ci-addons",
    "forks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/forks",
    "keys_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/keys{/key_id}",
    "collaborators_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/collaborators{/collaborator}",
    "teams_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/teams",
    "hooks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/hooks",
    "issue_events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/events{/number}",
    "events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/events",
    "assignees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/assignees{/user}",
    "branches_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/branches{/branch}",
    "tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/tags",
    "blobs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/blobs{/sha}",
    "git_tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/tags{/sha}",
    "git_refs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/refs{/sha}",
    "trees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/trees{/sha}",
    "statuses_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/statuses/{sha}",
    "languages_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/languages",
    "stargazers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/stargazers",
    "contributors_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contributors",
    "subscribers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscribers",
    "subscription_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscription",
    "commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/commits{/sha}",
    "git_commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/commits{/sha}",
    "comments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/comments{/number}",
    "issue_comment_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/comments{/number}",
    "contents_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contents/{+path}",
    "compare_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/compare/{base}...{head}",
    "merges_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/merges",
    "archive_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/{archive_format}{/ref}",
    "downloads_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/downloads",
    "issues_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues{/number}",
    "pulls_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/pulls{/number}",
    "milestones_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/milestones{/number}",
    "notifications_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/notifications{?since,all,participating}",
    "labels_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/labels{/name}",
    "releases_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/releases{/id}",
    "deployments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/deployments",
    "created_at":1476073518,
    "updated_at":"2017-03-08T01:35:54Z",
    "pushed_at":1492049835,
    "git_url":"git://github.com/scikit-build/scikit-ci-addons.git",
    "ssh_url":"[email protected]:scikit-build/scikit-ci-addons.git",
    "clone_url":"https://github.com/scikit-build/scikit-ci-addons.git",
    "svn_url":"https://github.com/scikit-build/scikit-ci-addons",
    "homepage":"http://scikit-ci-addons.readthedocs.org/",
    "size":227,
    "stargazers_count":0,
    "watchers_count":0,
    "language":"Python",
    "has_issues":true,
    "has_projects":false,
    "has_downloads":true,
    "has_wiki":false,
    "has_pages":false,
    "forks_count":1,
    "mirror_url":null,
    "open_issues_count":9,
    "forks":1,
    "open_issues":9,
    "watchers":0,
    "default_branch":"master",
    "stargazers":0,
    "master_branch":"master",
    "organization":"scikit-build"
  },
  "pusher":{
    "name":"jcfr",
    "email":"[email protected]"
  },
  "organization":{
    "login":"scikit-build",
    "id":8144855,
    "url":"https://api.github.com/orgs/scikit-build",
    "repos_url":"https://api.github.com/orgs/scikit-build/repos",
    "events_url":"https://api.github.com/orgs/scikit-build/events",
    "hooks_url":"https://api.github.com/orgs/scikit-build/hooks",
    "issues_url":"https://api.github.com/orgs/scikit-build/issues",
    "members_url":"https://api.github.com/orgs/scikit-build/members{/member}",
    "public_members_url":"https://api.github.com/orgs/scikit-build/public_members{/member}",
    "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
    "description":null
  },
  "sender":{
    "login":"jcfr",
    "id":219043,
    "avatar_url":"https://avatars3.githubusercontent.com/u/219043?v=3",
    "gravatar_id":"",
    "url":"https://api.github.com/users/jcfr",
    "html_url":"https://github.com/jcfr",
    "followers_url":"https://api.github.com/users/jcfr/followers",
    "following_url":"https://api.github.com/users/jcfr/following{/other_user}",
    "gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}",
    "starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}",
    "subscriptions_url":"https://api.github.com/users/jcfr/subscriptions",
    "organizations_url":"https://api.github.com/users/jcfr/orgs",
    "repos_url":"https://api.github.com/users/jcfr/repos",
    "events_url":"https://api.github.com/users/jcfr/events{/privacy}",
    "received_events_url":"https://api.github.com/users/jcfr/received_events",
    "type":"User",
    "site_admin":false
  }
}

@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

Table of Content: Webhook payloads

(1) Push Event: Updated refs/heads/master
(2) Push Event: Created refs/tags/latest-tmp
(3) Push Event: Deleted refs/tags/latest
(4) Push Event: Created refs/tags/latest
(5) Push Event: Deleted refs/tags/latest-tmp

And associated Appveyor build json description

(5) Deleted refs/tags/latest-tmp

{
  "ref":"refs/tags/latest-tmp",
  "before":"a6b206dbab8391c890fbd536b25c98aa800a254b",
  "after":"0000000000000000000000000000000000000000",
  "created":false,
  "deleted":true,
  "forced":false,
  "base_ref":null,
  "compare":"https://github.com/scikit-build/scikit-ci-addons/compare/a6b206dbab83...000000000000",
  "commits":[

  ],
  "head_commit":null,
  "repository":{
    "id":70451850,
    "name":"scikit-ci-addons",
    "full_name":"scikit-build/scikit-ci-addons",
    "owner":{
      "name":"scikit-build",
      "email":null,
      "login":"scikit-build",
      "id":8144855,
      "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
      "gravatar_id":"",
      "url":"https://api.github.com/users/scikit-build",
      "html_url":"https://github.com/scikit-build",
      "followers_url":"https://api.github.com/users/scikit-build/followers",
      "following_url":"https://api.github.com/users/scikit-build/following{/other_user}",
      "gists_url":"https://api.github.com/users/scikit-build/gists{/gist_id}",
      "starred_url":"https://api.github.com/users/scikit-build/starred{/owner}{/repo}",
      "subscriptions_url":"https://api.github.com/users/scikit-build/subscriptions",
      "organizations_url":"https://api.github.com/users/scikit-build/orgs",
      "repos_url":"https://api.github.com/users/scikit-build/repos",
      "events_url":"https://api.github.com/users/scikit-build/events{/privacy}",
      "received_events_url":"https://api.github.com/users/scikit-build/received_events",
      "type":"Organization",
      "site_admin":false
    },
    "private":false,
    "html_url":"https://github.com/scikit-build/scikit-ci-addons",
    "description":"Command line tool and a set of scripts useful to help drive CI",
    "fork":false,
    "url":"https://github.com/scikit-build/scikit-ci-addons",
    "forks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/forks",
    "keys_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/keys{/key_id}",
    "collaborators_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/collaborators{/collaborator}",
    "teams_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/teams",
    "hooks_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/hooks",
    "issue_events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/events{/number}",
    "events_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/events",
    "assignees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/assignees{/user}",
    "branches_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/branches{/branch}",
    "tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/tags",
    "blobs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/blobs{/sha}",
    "git_tags_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/tags{/sha}",
    "git_refs_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/refs{/sha}",
    "trees_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/trees{/sha}",
    "statuses_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/statuses/{sha}",
    "languages_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/languages",
    "stargazers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/stargazers",
    "contributors_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contributors",
    "subscribers_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscribers",
    "subscription_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/subscription",
    "commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/commits{/sha}",
    "git_commits_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/git/commits{/sha}",
    "comments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/comments{/number}",
    "issue_comment_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues/comments{/number}",
    "contents_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/contents/{+path}",
    "compare_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/compare/{base}...{head}",
    "merges_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/merges",
    "archive_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/{archive_format}{/ref}",
    "downloads_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/downloads",
    "issues_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/issues{/number}",
    "pulls_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/pulls{/number}",
    "milestones_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/milestones{/number}",
    "notifications_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/notifications{?since,all,participating}",
    "labels_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/labels{/name}",
    "releases_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/releases{/id}",
    "deployments_url":"https://api.github.com/repos/scikit-build/scikit-ci-addons/deployments",
    "created_at":1476073518,
    "updated_at":"2017-03-08T01:35:54Z",
    "pushed_at":1492049836,
    "git_url":"git://github.com/scikit-build/scikit-ci-addons.git",
    "ssh_url":"[email protected]:scikit-build/scikit-ci-addons.git",
    "clone_url":"https://github.com/scikit-build/scikit-ci-addons.git",
    "svn_url":"https://github.com/scikit-build/scikit-ci-addons",
    "homepage":"http://scikit-ci-addons.readthedocs.org/",
    "size":227,
    "stargazers_count":0,
    "watchers_count":0,
    "language":"Python",
    "has_issues":true,
    "has_projects":false,
    "has_downloads":true,
    "has_wiki":false,
    "has_pages":false,
    "forks_count":1,
    "mirror_url":null,
    "open_issues_count":9,
    "forks":1,
    "open_issues":9,
    "watchers":0,
    "default_branch":"master",
    "stargazers":0,
    "master_branch":"master",
    "organization":"scikit-build"
  },
  "pusher":{
    "name":"jcfr",
    "email":"[email protected]"
  },
  "organization":{
    "login":"scikit-build",
    "id":8144855,
    "url":"https://api.github.com/orgs/scikit-build",
    "repos_url":"https://api.github.com/orgs/scikit-build/repos",
    "events_url":"https://api.github.com/orgs/scikit-build/events",
    "hooks_url":"https://api.github.com/orgs/scikit-build/hooks",
    "issues_url":"https://api.github.com/orgs/scikit-build/issues",
    "members_url":"https://api.github.com/orgs/scikit-build/members{/member}",
    "public_members_url":"https://api.github.com/orgs/scikit-build/public_members{/member}",
    "avatar_url":"https://avatars1.githubusercontent.com/u/8144855?v=3",
    "description":null
  },
  "sender":{
    "login":"jcfr",
    "id":219043,
    "avatar_url":"https://avatars3.githubusercontent.com/u/219043?v=3",
    "gravatar_id":"",
    "url":"https://api.github.com/users/jcfr",
    "html_url":"https://github.com/jcfr",
    "followers_url":"https://api.github.com/users/jcfr/followers",
    "following_url":"https://api.github.com/users/jcfr/following{/other_user}",
    "gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}",
    "starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}",
    "subscriptions_url":"https://api.github.com/users/jcfr/subscriptions",
    "organizations_url":"https://api.github.com/users/jcfr/orgs",
    "repos_url":"https://api.github.com/users/jcfr/repos",
    "events_url":"https://api.github.com/users/jcfr/events{/privacy}",
    "received_events_url":"https://api.github.com/users/jcfr/received_events",
    "type":"User",
    "site_admin":false
  }
}

@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

Table of Content: Webhook payloads

(1) Push Event: Updated refs/heads/master
(2) Push Event: Created refs/tags/latest-tmp
(3) Push Event: Deleted refs/tags/latest
(4) Push Event: Created refs/tags/latest
(5) Push Event: Deleted refs/tags/latest-tmp

And associated Appveyor build json description

Appveyor builds

And below are the corresponding builds retrieved running these powershell commands:

$env:APPVEYOR_API_URL="https://ci.appveyor.com/api"
$env:APPVEYOR_ACCOUNT_NAME="scikit-build"
$env:APPVEYOR_PROJECT_SLUG="scikit-ci-addons"

( Invoke-RestMethod $env:APPVEYOR_API_URL/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=3 ).builds `
  | ConvertTo-Json -Depth 1

Newest build first. Note also that buildId: 8033575 was still running because I enabled remote access.

[
    {
        "buildId":  8033588,
        "jobs":  "",
        "buildNumber":  271,
        "version":  "0.0.1.271",
        "message":  "appveyor: Display env",
        "branch":  "master",
        "tag":  "latest",
        "isTag":  true,
        "commitId":  "a6b206dbab8391c890fbd536b25c98aa800a254b",
        "authorName":  "Jean-Christophe Fillion-Robin",
        "authorUsername":  "jcfr",
        "committerName":  "Jean-Christophe Fillion-Robin",
        "committerUsername":  "jcfr",
        "committed":  "2017-04-13T02:15:16+00:00",
        "messages":  "",
        "status":  "queued",
        "created":  "2017-04-13T02:17:15.8220209+00:00"
    },
    {
        "buildId":  8033586,
        "jobs":  "",
        "buildNumber":  270,
        "version":  "0.0.1.270",
        "message":  "appveyor: Display env",
        "branch":  "master",
        "tag":  "latest-tmp",
        "isTag":  true,
        "commitId":  "a6b206dbab8391c890fbd536b25c98aa800a254b",
        "authorName":  "Jean-Christophe Fillion-Robin",
        "authorUsername":  "jcfr",
        "committerName":  "Jean-Christophe Fillion-Robin",
        "committerUsername":  "jcfr",
        "committed":  "2017-04-13T02:15:16+00:00",
        "messages":  "",
        "status":  "queued",
        "created":  "2017-04-13T02:17:13.8310461+00:00"
    },
    {
        "buildId":  8033575,
        "jobs":  "",
        "buildNumber":  269,
        "version":  "0.0.1.269",
        "message":  "appveyor: Display env",
        "branch":  "master",
        "isTag":  false,
        "commitId":  "a6b206dbab8391c890fbd536b25c98aa800a254b",
        "authorName":  "Jean-Christophe Fillion-Robin",
        "authorUsername":  "jcfr",
        "committerName":  "Jean-Christophe Fillion-Robin",
        "committerUsername":  "jcfr",
        "committed":  "2017-04-13T02:15:16+00:00",
        "messages":  "",
        "status":  "running",
        "started":  "2017-04-13T02:16:29.719342+00:00",
        "created":  "2017-04-13T02:16:16.4543812+00:00",
        "updated":  "2017-04-13T02:16:29.719342+00:00"
    }
]

jcfr added a commit to QIICR/dcmqi that referenced this issue Apr 13, 2017
This commit updates version of scikit-ci-addons from 0.11.0 to 0.14.0 and
make use the "publish_github_release" addon to automatically upload
DCMQI prereleases and releases.

See http://scikit-ci-addons.readthedocs.io/en/latest/addons.html#publish-github-release-py

Notes:

* all CI services have been associated with a secure environment variable
  named GITHUB_TOKEN. This is needed to create/update the GitHub releases
  or prereleases.

* the appveyor configuration is also associated with APPVEYOR_API_TOKEN
  to workaround AppVeyor issue described in scikit-build/scikit-ci-addons#45
@jcfr
Copy link
Contributor Author

jcfr commented Apr 13, 2017

xref appveyor/ci#1493

Thanks @IlyaFinkelshteyn for helping with this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant