Merge pull request 'new minor 1.1' (#2) from develop into master
nclazz/api-cli/pipeline/head This commit looks good Details

Reviewed-on: de.nclazz/api-cli#2
master
Niclas Thobaben 2021-07-08 17:04:09 +00:00
commit 6174af5f09
3 changed files with 9 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -20,6 +20,12 @@ pipeline {
sh('git remote set-url origin \$(echo $GIT_URL | sed -e "s^//^//$GIT_CREDENTIALS@^")')
}
}
stage('Checks') {
steps {
sh 'npm run test'
}
}
stage('Set Version') {
when {
allOf {

View File

@ -1,6 +1,6 @@
{
"name": "@nclazz/apicli",
"version": "1.0.2",
"version": "1.1.0",
"description": "Commandline interface for generating and linting api-specs.",
"main": "./src/index.js",
"bin": "./src/index.js",
@ -19,7 +19,7 @@
"author": "Niclas Thobaben",
"license": "MIT",
"dependencies": {
"args-parser": "1.2.0",
"args-parser": "1.3.0",
"chai": "^4.3.4",
"mocha": "^9.0.2",
"npm-cli-login": "0.1.1",

View File

@ -13,6 +13,7 @@ if(!command) {
}
logging.init(args.v ? 1 : args.vv ? 2 : 0)
console.debug('Arguments:', args)
try {
command.run(args)