github-organizations

Pass Artifact or String to upstream job in Jenkins Pipeline

☆樱花仙子☆ 提交于 2020-12-13 20:57:07
问题 Goal I'm trying to orchestrate a dependency chain using the GitHub organization plugin along with the jenkins pipeline. As the products I'm building have a number of shared dependencies, I'm using nuget packages to manage dependency versioning and updates. However, I'm having trouble getting necessary artifacts/info to the projects doing the orchestration. Strategy On a SCM change any upstream shared libraries should build a nuget package and orchestrate any downstream builds that need new

How to checkout ssh remote in github organization Jenkins workflow and use ssh credentials in Jenkinsfile

心已入冬 提交于 2020-01-02 02:55:09
问题 I have a Github Organisation item in jenkins. On the root of my repository, my Jenkinsfile looks something like this: node { def jenkinsCredsId = 'xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb' stage 'Checkout' checkout scm // I also tried the following: // checkout scm: [$class: 'GitSCM', source: 'ssh://git@github.com:MY_ORGANISATION/jenkins-testing-temp.git', clean: true, credentialsId: jenkinsCredsId] stage 'Build' // generate some artefact (dist.zip) stage 'Release' sshagent([jenkinsCredsId]) { sh

Jenkins pipeline code auto trigger with multiple repositories through GitHub Organization Folder Plugin

爱⌒轻易说出口 提交于 2019-12-21 03:35:15
问题 This question is related to the Jenkins job auto trigger with multiple repositories. Defined 3 repo's to checkout in Jenkinsfile. node('slave'){ git clone github.com/owner/abc.git -b ${env.BRANCH_NAME} git clone github.com/owner/def.git -b ${env.BRANCH_NAME} git clone github.com/owner/ghi.git -b ${env.BRANCH_NAME} } Configured Jenkins job using Github organization plugin. In this case my Jenkinsfile is in abc repo and the Jenkins auto trigger is working fine for the abc repo. its not working

Github v3 API get all organizations more than 100

限于喜欢 提交于 2019-12-12 14:29:55
问题 I am trying to get all organization items through http://host/api/v3/organizations?page=2&per_page=100 The default size seems like 30, and 100 seems like the max limit per request. But above link still only returns the first 100 items, i.e, not 101-200th I also tried http:host//api/v3/organizations?page=2 No matter which page I set, it only returns the first 30 items. How can I get the entire list of organization items please? Please help. Appreciate. 回答1: From Github API reference for

How to checkout ssh remote in github organization Jenkins workflow and use ssh credentials in Jenkinsfile

我只是一个虾纸丫 提交于 2019-12-05 05:51:38
I have a Github Organisation item in jenkins. On the root of my repository, my Jenkinsfile looks something like this: node { def jenkinsCredsId = 'xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb' stage 'Checkout' checkout scm // I also tried the following: // checkout scm: [$class: 'GitSCM', source: 'ssh://git@github.com:MY_ORGANISATION/jenkins-testing-temp.git', clean: true, credentialsId: jenkinsCredsId] stage 'Build' // generate some artefact (dist.zip) stage 'Release' sshagent([jenkinsCredsId]) { sh ''' git remote -v // show remotes ssh-add -l // show currently loaded ssh keys fingerprints git fetch

Jenkins pipeline code auto trigger with multiple repositories through GitHub Organization Folder Plugin

不想你离开。 提交于 2019-12-03 11:42:05
This question is related to the Jenkins job auto trigger with multiple repositories. Defined 3 repo's to checkout in Jenkinsfile. node('slave'){ git clone github.com/owner/abc.git -b ${env.BRANCH_NAME} git clone github.com/owner/def.git -b ${env.BRANCH_NAME} git clone github.com/owner/ghi.git -b ${env.BRANCH_NAME} } Configured Jenkins job using Github organization plugin. In this case my Jenkinsfile is in abc repo and the Jenkins auto trigger is working fine for the abc repo. its not working for other repo's. Is there anyway to define auto trigger for 2 or more repo's? Is there any plugin

GitHub: how do I make a user an admin of an organization?

你离开我真会死。 提交于 2019-11-28 09:20:44
I need to transfer a repository from a user account to an organization the user is a member of. Per GitHUb's docs, I need to make the user account an admin of the organization first. GitHub's docs describe the different levels of access to an organization , but I can't find out how to actually change a user's level of access to an organisation . How can I make the organization member an admin? Access levels in GitHub are configured per Team inside the Organization. Log into GitHub. Switch your account context to the organization using the dropdown near the top-left of the screen. Click the

GitHub: how do I make a user an admin of an organization?

試著忘記壹切 提交于 2019-11-27 02:21:28
问题 I need to transfer a repository from a user account to an organization the user is a member of. Per GitHUb's docs, I need to make the user account an admin of the organization first. GitHub's docs describe the different levels of access to an organization, but I can't find out how to actually change a user's level of access to an organisation . How can I make the organization member an admin? 回答1: Access levels in GitHub are configured per Team inside the Organization. Log into GitHub. Switch