Created
September 23, 2020 00:35
-
-
Save dhgautam/73ebf920ab638dafabe6fc19cfed3b86 to your computer and use it in GitHub Desktop.
addjob.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> | |
<url>http://gitserver:3000/student/maven-examples.git</url> | |
<credentialsId>student-git-id</credentialsId> | |
</hudson.plugins.git.UserRemoteConfig> | |
</userRemoteConfigs> | |
<branches> | |
<hudson.plugins.git.BranchSpec> | |
<name>*/master</name> | |
</hudson.plugins.git.BranchSpec> | |
</branches> | |
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | |
<submoduleCfg class="list"/> | |
<extensions/> | |
</scm> | |
<assignedNode>jdk11</assignedNode> | |
<canRoam>false</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
<triggers/> | |
<concurrentBuild>false</concurrentBuild> | |
<builders> | |
<hudson.tasks.Maven> | |
<targets>clean install</targets> | |
<mavenName>mvn3</mavenName> | |
<pom>java-project/pom.xml</pom> | |
<usePrivateRepository>false</usePrivateRepository> | |
<settings class="jenkins.mvn.DefaultSettingsProvider"/> | |
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> | |
<injectBuildVariables>false</injectBuildVariables> | |
</hudson.tasks.Maven> | |
</builders> | |
<publishers> | |
<hudson.tasks.ArtifactArchiver> | |
<artifacts>**/*.jar</artifacts> | |
<allowEmptyArchive>false</allowEmptyArchive> | |
<onlyIfSuccessful>false</onlyIfSuccessful> | |
<fingerprint>false</fingerprint> | |
<defaultExcludes>true</defaultExcludes> | |
<caseSensitive>true</caseSensitive> | |
<followSymlinks>false</followSymlinks> | |
</hudson.tasks.ArtifactArchiver> | |
</publishers> | |
<buildWrappers/> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment