X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fglobal%2Fjjb-macros.yaml;h=b85365255aefb9c425a0f165bd14d1ad249b0e57;hb=8785eaaf4ff9b2e9c289a3f46f0336c717e83ef7;hp=eaaa69e610899a8d91dae98c3bd68c3f7b6aea6e;hpb=1dcb2f01d3aa6a35940ab610458a823698ad479a;p=infra%2Fcicd.git diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml index eaaa69e6..b8536525 100644 --- a/jjb/global/jjb-macros.yaml +++ b/jjb/global/jjb-macros.yaml @@ -1,21 +1,4 @@ --- -# these parameters are used for infra related variables -- parameter: - name: infra-parameters - parameters: - - string: - name: JJB_GIT_REPO - default: https://review.opendev.org/jjb/jenkins-job-builder - description: OpenStack JJB repo - - string: - name: JJB_VERSION - default: 2.9.1 - description: OpenStack JJB version to install - matches to LFN JJB version - - string: - name: NORDIX_REGISTRY - default: registry.nordix.org - description: Nordix Container Image Registry - # these parameters are used for setting the Gerrit Project on Nordix - parameter: name: project-parameters @@ -466,6 +449,26 @@ username: HARBOR_USERNAME password: HARBOR_PASSWORD +# wrappers to use for jobs +- wrapper: + name: nordixinfra-eiffel-github-token + wrappers: + - credentials-binding: + - username-password-separated: + credential-id: nordixinfra-eiffel-username-personal-access-token + username: NORDIXINFRA_GITHUB_USERNAME + password: NORDIXINFRA_GITHUB_TOKEN + +# wrappers to use for jobs +- wrapper: + name: nordix-gerrit-http-api-token + wrappers: + - credentials-binding: + - username-password-separated: + credential-id: nordixinfra-nordix-gerrit-http-api-token + username: GERRIT_USER + password: GERRIT_API_KEY + # timeout wrapper to use for jobs - wrapper: name: build-timeout