File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -84,14 +84,6 @@ export class JenkinsXmlBuilder {
8484 <description></description>
8585 <keepDependencies>false</keepDependencies>
8686 <properties>
87- //TODO: Uncomment this when we have a way to trigger the Jenkins job automatically
88- // <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
89- // <triggers>
90- // <com.cloudbees.jenkins.GitHubPushTrigger plugin="${ JenkinsConfig . PLUGINS . GITHUB } ">
91- // <spec/>
92- // </com.cloudbees.jenkins.GitHubPushTrigger>
93- // </triggers>
94- // </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
9587 </properties>
9688 <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="${ JenkinsConfig . PLUGINS . WORKFLOW_CPS } ">
9789 <scm class="hudson.plugins.git.GitSCM" plugin="${ JenkinsConfig . PLUGINS . GIT } ">
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ export class KubernetesAgentModification implements JenkinsfileModification {
2323 {
2424 oldContent : 'agent any' ,
2525 newContent :
26- "agent {\n kubernetes {\n label 'jenkins-agent'\n cloud 'openshift'\n serviceAccount 'jenkins'\n podRetention onFailure()\n idleMinutes '5'\n containerTemplate {\n name 'jnlp'\n image '" +
27- this . agentImage +
28- "'\n ttyEnabled true\n args '${computer.jnlpmac} ${computer.name}'\n }\n }\n}" ,
26+ "agent {\n label 'tssc-jenkins-agent' \n}" ,
2927 } ,
3028 ] ,
3129 } ;
You can’t perform that action at this time.
0 commit comments