Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release1.0 #10

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
16 changes: 15 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@

pipeline {
agent any
stages {
stage(stage1) {
steps {
sh 'echo "stage1 running from master branch with WEBHOOKS" '
}
}
stage(stage2) {
steps {
sh 'echo "stage2 running from master branch with WEBHOOKS" '
}
}
}
}
20 changes: 17 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
<description>Maven Standalone Application</description>

<properties>
<sonar.host.url>http://35.154.242.68:9000/</sonar.host.url>
<sonar.login>admin</sonar.login>
<sonar.password>admin</sonar.password>
<sonar.host.url>http://localhost:9000/</sonar.host.url>
<sonar.login>0906227e8377e6dccd53f89751c55e2ef8aec6df</sonar.login>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -34,7 +34,21 @@
</dependency>

</dependencies>
<distributionManagement>

<repository>
<id>nexus</id>
<name> Test project release </name>
<url>http://54.221.185.88:8081/repository/test2-release/</url>
</repository>

<snapshotRepository>
<id>nexus</id>
<name> Test project snapshot </name>
<url>http://54.221.185.88:8081/repository/test2-snapshot/</url>
</snapshotRepository>

</distributionManagement>
<!-- Committing and updating changes through Maven, by using below mvn command.
For Commiting mvn -Dmessage="Updated using maven" scm:checkin For updating
mvn scm:update -->
Expand Down