Skip to content

Commit

Permalink
gpg changes
Browse files Browse the repository at this point in the history
  • Loading branch information
an481n committed Nov 29, 2016
1 parent a73415f commit f560d7a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 5 deletions.
22 changes: 22 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
node {
// Get the maven tool.
// ** NOTE: This 'M3' maven tool must be configured
// ** in the Jenkins global configuration.
def mvnHome = tool 'M3'
sh "echo ${mvnHome}"


// Mark the code checkout 'stage'....
stage 'Checkout'
// Get some code from a GitHub repository
checkout scm

// Mark the code build 'stage'....
stage 'Build ajsc5'
// Run the maven build
//sh for unix bat for windows

sh "${mvnHome}/bin/mvn -f saserverlibrary/pom.xml clean deploy"


}
27 changes: 22 additions & 5 deletions saserverlibrary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
<version.war.plugin>2.1.1</version.war.plugin>
</properties>

<scm>
<connection>scm:git:ssh://[email protected]:7999/st_2020int/saserverlibrary.git</connection>
<developerConnection>scm:git:ssh://[email protected]:7999/st_2020int/saserverlibrary.git</developerConnection>
<url>https://codecloud.web.att.com/scm/st_2020int/saserverlibrary.git</url>
</scm>


<dependencies>
<dependency>
Expand Down Expand Up @@ -191,8 +187,29 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrhdme</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<snapshotRepository>
<id>ossrhdme</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrhdme</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>

0 comments on commit f560d7a

Please sign in to comment.