Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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