Skip to content

Instantly share code, notes, and snippets.

View dhgautam's full-sized avatar

Deepika Gautam dhgautam

View GitHub Profile
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description/>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.plugins.git.GitSCM" plugin="git@5.2.1">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<?xml version='1.1' encoding='UTF-8'?>
<flow-definition plugin="workflow-job@2.40">
<actions>
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobAction plugin="pipeline-model-definition@1.7.2"/>
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction plugin="pipeline-model-definition@1.7.2">
<jobProperties/>
<triggers/>
<parameters/>
<options/>
</org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction>
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.jira.JiraProjectProperty plugin="jira@3.1.1"/>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@4.4.3">
<configVersion>2</configVersion>
@dhgautam
dhgautam / installJX.md
Last active July 23, 2020 18:39 — forked from hgautam/installJX.md
InstallJenkinsX

Installing Jenkins X in Google Kubernetes Engine (GKE)

  • Run the following command to launch a cluster named jxboot:
jx create cluster gke --skip-installation --skip-login -n jxboot
  • Choose a zone closer to your geographical location. E.g. us-west1-a if you live in California
  • To view a list of zones, run the folowing command:
gcloud compute zones list
Jul 06, 2020 6:44:05 PM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException
Caught unhandled exception with ID 162d046a-fc28-44f1-a981-656b9157905d
java.lang.ClassNotFoundException: org.eclipse.jgit.transport.JschConfigSessionFactory
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
Caused: java.lang.NoClassDefFoundError: org/eclipse/jgit/transport/JschConfigSessionFactory
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
@dhgautam
dhgautam / Jenkinsfile
Last active July 3, 2022 12:04
Jenkinsfile for demo app-pipeline
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Build demo-app'
sh 'sh run_build_script.sh'
}
}