Skip to content

itykhan/gh-action1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a test action to run CloudBees CD/RO pipeline using cloudbees/cbflow-tools image

Inputs:

  • pipelineProjectName: 'Name of a project containing a pipeline' (required)
  • pipelineName: 'Name of a pipeline' (required)
  • actualParameters: 'Actual parameters in formal parameterName1=value1 parameterName2=value2 ...' (optional)

Environment variables

  • CDRO_HOST - CB CD/RO host name
  • CDRO_USER - user name to login
  • CDRO_PASSWORD - user password to login

Example

name: run cd pipeline

on: push

jobs:
  run-cd:
    runs-on: ubuntu-latest
    steps:
      - name: run CD/RO pipeline
        uses: itykhan/gh-action1@main
        with:
          pipelineProjectName: it-test
          pipelineName: gha-test
          actualParameters: repo=${{ github.repository }}
        env:
          CDRO_USER: ${{ vars.CDRO_USER }}
          CDRO_HOST: ${{ vars.CDRO_HOST }}
          CDRO_PASSWORD: ${{ secrets.CDRO_PASSWORD }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published