Skip to content

Commit

Permalink
Merge pull request #534 from aml-org/W-11210878/jenkins-triggers
Browse files Browse the repository at this point in the history
W-11210878/jenkins-triggers: added trigger to amf project
  • Loading branch information
tomsfernandez authored Jun 14, 2022
2 parents c25d2f0 + 8c780a9 commit 56bf048
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@ pipeline {
}
}
}
stage('Triggers') {
when {
anyOf {
branch 'develop'
}
}
steps {
script {
echo "Triggering amf on develop branch"
build job: 'application/AMF/amf/develop', wait: false

echo "Triggering amf-custom-validator-scalajs on develop branch"
build job: 'application/AMF/amf-custom-validator-scalajs/develop', wait: false
}
}
}
stage('Tag version') {
when {
anyOf {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sonarProperties ++= Map(
"sonar.github.repository" -> "mulesoft/amf-aml",
"sonar.sources" -> "amf-aml/shared/src/main/scala",
"sonar.tests" -> "amf-aml/shared/src/test/scala",
"sonar.scala.coverage.reportPaths" -> "aml-aml/jvm/target/scala-2.12/scoverage-report/scoverage.xml"
"sonar.scala.scoverage.reportPath" -> "aml-aml/jvm/target/scala-2.12/scoverage-report/scoverage.xml"
)

lazy val workspaceDirectory: File =
Expand Down

0 comments on commit 56bf048

Please sign in to comment.