File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 - attach_workspace :
3939 at : ~/java-to-native
4040 - run : |
41- TAG=0.1.2
41+ TAG=0.1.3
4242 docker build -t devatherock/java-to-native:$TAG .
4343 docker tag devatherock/java-to-native:$TAG devatherock/java-to-native:latest
4444 docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 0.1.3] - 2020-06-21
4+ ### Changed
5+ - Fixed the bug that was making config file mandatory
6+
37## [ 0.1.2] - 2020-06-21
48### Changed
59- Stopped using environment variable ` VELA `
Original file line number Diff line number Diff line change @@ -42,11 +42,10 @@ if (options.d) {
4242}
4343
4444// Read config file
45- String configFile = options. c
4645def config = [:]
47- if (configFile ) {
46+ if (options . c ) {
4847 Yaml yaml = new Yaml ()
49- config. putAll(getFlattenedMap(' ' , yaml. load(new File (configFile ). text)))
48+ config. putAll(getFlattenedMap(' ' , yaml. load(new File (options . c ). text)))
5049}
5150logger. fine({ String . valueOf(config) })
5251
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ The following parameters can be set to configure the plugin.
1313``` yaml
1414java_to_native :
1515 docker :
16- - image : devatherock/java-to-native:0.1.2
16+ - image : devatherock/java-to-native:0.1.3
1717 working_directory : ~/drone-yaml-validator
1818 environment :
1919 PLUGIN_JAR_NAME : build/native/libs/YamlValidator.jar
3737 ruleset :
3838 branch : master
3939 event : push
40- image : devatherock/java-to-native:0.1.2
40+ image : devatherock/java-to-native:0.1.3
4141 parameters :
4242 jar_name : build/native/libs/YamlValidator.jar
4343 config_file : config/graal.yml
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Execute from the working directory:
1515docker run --rm \
1616 -e PLUGIN_JAR_NAME=YamlValidator.jar \
1717 -e PLUGIN_CONFIG_FILE=config/graal.yml \
18- devatherock/java-to-native:0.1.2
18+ devatherock/java-to-native:0.1.3
1919```
2020
2121## Configuration
You can’t perform that action at this time.
0 commit comments