Does anyone know how can we download GitHub repository as a part of spinnaker pipeline.
We have few scripts which are present in Github and I want to get those scripts during spinnaker pipeline execution.
You can use the Github artifact
You can use the Script or Run Command Stage to obtain the scripts and execute them.
Related
I need to implement a salesforce DevOps solution using Jenkins as deployment tool, Github as version control and SFDX as cli to be used as in deployment build steps.
Can anyone list out the step by step procedure once the tool(GitHub, Jenkins, salesforce, SFDX) are ready. I understood to include SFDX script or commands in build steps in Jenkins but have few queries too:
How can I deploy the entire release branch using Jenkins to target org.
How can I deploy specific components based on package.xml to target org.
Also, anyone has SFDX script to be used as reference.
I have setup salesforce, Jenkins, GitHub & SFDX tool on windows currently.
Tried deploying a set of components to target org but was not sure whether we have to create a SFDX project separately that will be committed to GitHub and will have to convert the code to metadata item.
Expectation would be to deploy salesforce components from GitHub release branch to salesforce target or using Jenkins pipeline or job.
I have a requirement to create an Azure DevOps pipeline that can copy files from my Azure Repo to a path on an On-premise VM (a SQL server to be precise). Could anyone advise on how to get started on this?
You would need to add a checkout task to the pipeline. You would define the repo as a source and then add a step to checkout the repo. Here's some documentation concerning checking out multiple repos using yaml that should get you started
I'm beginner with Jenkins and I must build a Jenkins Pipeline for a project. I decided to use GitHub as SCM. GitHub launch Jenkins pipeline thanks to webhook on each push.
The Jenkins pipeline is a multibranche pipeline. So I can have one Jenkinsfile on each GitHub branch.
I also use Terraform to build EC2 Instance on AWS thanks to my Jenkins pipeline. So I must manage my IAM credentials and some other important variables that I can be able to use during the workflow.
How can I secure my variables during the workflow ? My jenkinsfile is versioned on Github. If I use the "env" step in JenkinsFile, all my variables will be visible. GitHub doesn't allow to manage environment variable if I didn't use GitHub Action. I don't now if a Jenkins plugin can help me or a function that I not know on Jenkins ? I know the global environment variables on Jenkins but all my variables are focused on one project and not on all.
Thank you for your help.
Gati
I'm very interested in the options which open up for us with the az devops cli.
I'd like to be able to generate a yaml file locally and run it from local file by using the "az pipelines run" command. is this possible?
it would allow for very fast iteration of pipeline creation. At present we are making updates to a yaml file in repo, committing, running and then reviewing (which isn't as smooth a process as it could be).
thanks
Unfortunately, this is not possible.
There is a suggestion under review on the Visual Studio Developer Community.
I have a GitHub repository which contains a Jenkinsfile (with job configuration steps). I want to trigger a Jenkins simple Pipeline (not multibranch) job every night to build a jar from this repo and deploy to Nexus.
The pipeline definition options says read Pipeline script from SCM but then I don't see any option to point to specific SCM i.e. GitHub in my case. I can write the pipeline script in the Job but that is not what I want.
How can I achieve this? Please help.
You can add a build trigger for Build periodically to the jenkins job.
This will build it on a schedule for you.
You will need to install the Git Client Plugin
Then you will get the following option:
Under it you will be able to put the location of the git repo and the credentials.