ReactJS - How to pass method to component and how to pass arguments to method
Introduction In the ReactJS project, you are having aa parent component and a…
October 07, 2022
There are some cases, where I need another git repository while running some automation. Lets see, how we can clone another git repository within another job.
stage('Get K8s Yaml files') {
steps {
echo 'Getting kubernetes files from git...'
checkout([$class: 'GitSCM',
branches: [[name: '*/main']],
doGenerateSubmoduleConfigurations: false,
extensions: [[
$class: 'RelativeTargetDirectory',
relativeTargetDir: 'k8s_deployment']],
submoduleCfg: [],
userRemoteConfigs: [[
credentialsId: 'my-git-token',
url: 'https://git.mycorp.com/myorg/k8s_deployment.git']]])
}
}
In above Jenkinsfile
, I’m asking Jenkin to clone the git repository in a directory: k8s_deployment
, and this directory will be created in the workspace directory. I will also need the git token.
Introduction In the ReactJS project, you are having aa parent component and a…
Code that I have is: It was: I changed it to: So, I needed to change button type…
Problem In drupal textarea field, it was always a pain to see the two links…
Introduction In Azure, assuming you are having a storage container. And, you…
While running docker commands with some images, I started getting error: The…
So, you want to run your code in parallel so that your can process faster, or…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…
Introduction You have a running kubernetes setup, and have a webservice (exposed…