-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Полная поддержка всех возможностей при использовании 1Script >=1.1.1 (#9
- Loading branch information
1 parent
a275bc2
commit 634ef40
Showing
9 changed files
with
109 additions
and
52 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.ospx | ||
tests.xml | ||
coverage/ | ||
tests-reports/ | ||
.sonar/ | ||
.sonarlint/ | ||
.scannerwork/ | ||
bdd-log.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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Описание.Имя("1connector") | ||
.Версия("1.0.4") | ||
.Версия("1.1.1") | ||
.Автор("Vladimir Bondarevskiy") | ||
.АдресАвтора("[email protected]") | ||
.Описание("Коннектор: удобный HTTP-клиент для OScript") | ||
.ВерсияСреды("1.0.21") | ||
.ВерсияСреды("1.1.1") | ||
.ВключитьФайл("src") | ||
.ВключитьФайл("docs") | ||
.ВключитьФайл("LICENSE") | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# must be unique in a given SonarQube instance | ||
sonar.projectKey=1connector | ||
|
||
# this is the name displayed in the SonarQube UI | ||
sonar.projectName=1connector | ||
|
||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. | ||
# Since SonarQube 4.2, this property is optional if sonar.modules is set. | ||
# If not set, SonarQube starts looking for source code from the directory containing | ||
# the sonar-project.properties file. | ||
|
||
sonar.sources=./src | ||
|
||
# Encoding of the source code. Default is default system encoding | ||
sonar.sourceEncoding=UTF-8 | ||
|
||
sonar.coverageReportPaths=coverage/genericCoverage.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
oscript ./tasks/coverage.os | ||
|
||
temp=`cat packagedef | grep ".Версия(" | sed 's|[^"]*"||' | sed -r 's/".+//'` | ||
version=${temp##*|} | ||
|
||
if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ]; then | ||
if [ "$TRAVIS_BRANCH" == "develop" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then | ||
|
||
sonar-scanner \ | ||
-Dsonar.host.url=$SONAR_HOST \ | ||
-Dsonar.login=$SONAR_TOKEN \ | ||
-Dsonar.projectVersion=$version\ | ||
-Dsonar.scanner.skip=false | ||
fi | ||
fi |
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
Oops, something went wrong.