History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2732
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Robin Shen
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Gradle plugin does not quote parameters therefore builds are failing if parameters contain special characters.

Created: 27/May/16 07:59 AM   Updated: 01/Dec/16 08:09 AM
Component/s: None
Affects Version/s: 6.1.13
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
I had a password in my gradle parameters which contained a $ and worked on linux but not on windows. I had to doublequote the parameters and it worked on both operating systems. Please add quoting. Thanks

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [29/May/16 08:56 AM]
Tried below test and it works for me on Windows:

1. write a simple build.gradle file like below:
task hello {
    doLast {
        println System.properties['someSystemProperty']
        println "${someProjectProperty}"
    }
}

2. Add a gradle build step to run above file and pass below variables:
System properties:
name: someSystemProperty
value: $12345

Project properties:
name: someProjectProperty
value $12345

Run the build and value of both variables can be printed correctly in build log. The gradle version I am using is 2.13

Can you please verify again how to reproduce the issue?

AlSt [03/Jun/16 07:56 AM]
I'll try this. Another thing I did not say in the first place was that the parameter was obtained from a configuration variable using ${vars.getValue("password")} and it was a secret value.

AlSt [03/Jun/16 11:49 AM]
I think I found the problem. I was able to reproduce it and it is not the dollar sign which causes the problem:

Windows node:

13:46:55,175 INFO - Executing pre-execute action...
13:46:55,176 INFO - Running step...
13:46:56,451 INFO - Checking step execute condition...
13:46:56,452 INFO - Step execute condition satisfied, executing...
13:46:56,601 INFO - Executing pre-execute action...
13:46:56,601 INFO - Running step...
13:46:56,602 INFO - Checking out revision '19ec23b81115727220c1bd0acf1b05f134242bcf' of repository 'git-test'...
13:46:56,604 DEBUG - Executing command: git checkout -f 19ec23b81115727220c1bd0acf1b05f134242bcf
13:46:56,604 DEBUG - Command working directory: c:\workspace\1908
13:46:56,632 INFO - HEAD is now at 19ec23b... Add simple build file
13:46:57,205 INFO - Getting changes of 'git-test' since build '1.0.2'...
13:46:57,207 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
13:46:57,207 DEBUG - Command working directory: c:\workspace\1908
13:46:57,251 DEBUG - 1464953936 +0200
13:46:57,253 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
13:46:57,253 DEBUG - Command working directory: c:\workspace\1908
13:46:57,278 DEBUG - 1464953936 +0200
13:46:57,284 DEBUG - Executing command: git config --replace-all core.quotepath false
13:46:57,284 DEBUG - Command working directory: c:\workspace\1908
13:46:57,311 DEBUG - Executing command: git log --name-status --pretty=raw 19ec23b81115727220c1bd0acf1b05f134242bcf..19ec23b81115727220c1bd0acf1b05f134242bcf
13:46:57,311 DEBUG - Command working directory: c:\workspace\1908
13:46:57,426 INFO - Executing post-execute action...
13:46:57,469 INFO - Checking step execute condition...
13:46:57,470 INFO - Step execute condition satisfied, executing...
13:46:57,500 INFO - Executing pre-execute action...
13:46:57,500 INFO - Running step...
13:46:57,504 DEBUG - Executing command: c:\workspace\1908\gradlew.bat -DsomeSystemProperty=Sample1)e&$ -PsomeProjectProperty=Sample1)e&$ -d -p c:\workspace\1908 -b c:\workspace\1908\build.gradle hello
13:46:57,505 DEBUG - Command working directory: c:\workspace\1908
13:47:12,033 INFO - :help
13:47:12,033 INFO -
13:47:12,033 INFO - Welcome to Gradle 2.2.
13:47:12,033 INFO -
13:47:12,035 INFO - To run a build, run gradlew <task> ...
13:47:12,035 INFO -
13:47:12,037 INFO - To see a list of available tasks, run gradlew tasks
13:47:12,037 INFO -
13:47:12,038 INFO - To see a list of command-line options, run gradlew --help
13:47:12,039 INFO -
13:47:12,040 INFO - BUILD SUCCESSFUL
13:47:12,040 INFO -
13:47:12,041 INFO - Total time: 12.013 secs
13:47:12,134 ERROR - '$' is not recognized as an internal or external command,
13:47:12,134 ERROR - operable program or batch file.
13:47:12,135 ERROR - '$' is not recognized as an internal or external command,
13:47:12,135 ERROR - operable program or batch file.
13:47:12,137 INFO - Executing post-execute action...
13:47:12,137 ERROR - Step 'master>build-gradle' is failed: Gradle build failed.
'$' is not recognized as an internal or external command,
operable program or batch file.
'$' is not recognized as an internal or external command,
operable program or batch file.
13:47:12,261 INFO - Executing post-execute action...
13:47:12,261 ERROR - Step 'master' is failed: Composite step 'master' failed due to unsatisfied success condition.

Linux node:

13:48:26,816 INFO - Executing pre-execute action...
13:48:26,816 INFO - Running step...
13:48:26,844 INFO - Checking step execute condition...
13:48:26,845 INFO - Step execute condition satisfied, executing...
13:48:26,975 INFO - Executing pre-execute action...
13:48:26,975 INFO - Running step...
13:48:26,976 INFO - Checking out revision '19ec23b81115727220c1bd0acf1b05f134242bcf' of repository 'git-test'...
13:48:26,978 DEBUG - Executing command: git checkout -f 19ec23b81115727220c1bd0acf1b05f134242bcf
13:48:26,978 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
13:48:26,982 INFO - HEAD is now at 19ec23b... Add simple build file
13:48:27,120 INFO - Getting changes of 'git-test' since build '1.0.3'...
13:48:27,122 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
13:48:27,122 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
13:48:27,126 DEBUG - 1464953936 +0200
13:48:27,127 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
13:48:27,127 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
13:48:27,131 DEBUG - 1464953936 +0200
13:48:27,132 DEBUG - Executing command: git config --replace-all core.quotepath false
13:48:27,132 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
13:48:27,137 DEBUG - Executing command: git log --name-status --pretty=raw 19ec23b81115727220c1bd0acf1b05f134242bcf..19ec23b81115727220c1bd0acf1b05f134242bcf
13:48:27,137 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
13:48:27,252 INFO - Executing post-execute action...
13:48:27,388 INFO - Checking step execute condition...
13:48:27,389 INFO - Step execute condition satisfied, executing...
13:48:27,420 INFO - Executing pre-execute action...
13:48:27,420 INFO - Running step...
13:48:27,425 DEBUG - Executing command: /opt/quickbuild/workspace/1908/gradlew -DsomeSystemProperty=Sample1)e&$ -PsomeProjectProperty=Sample1)e&$ -d -p /opt/quickbuild/workspace/1908 -b /opt/quickbuild/workspace/1908/build.gradle hello
13:48:27,425 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
13:48:28,761 INFO - [org.gradle.BuildLogger] Starting Build
13:48:28,765 DEBUG - [org.gradle.BuildLogger] Gradle user home: /home/labuser/.gradle
13:48:28,766 DEBUG - [org.gradle.BuildLogger] Current dir: /opt/quickbuild/workspace/1908
13:48:28,767 DEBUG - [org.gradle.BuildLogger] Settings file: null
13:48:28,767 DEBUG - [org.gradle.BuildLogger] Build file: /opt/quickbuild/workspace/1908/build.gradle
13:48:28,782 DEBUG - [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
13:48:28,783 DEBUG - [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
13:48:28,785 DEBUG - [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
13:48:28,786 DEBUG - [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
13:48:28,944 DEBUG - [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: /home/labuser/.m2/repository
13:48:29,157 DEBUG - [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.37 secs
13:48:29,159 INFO - [org.gradle.BuildLogger] Settings evaluated using empty settings script.
13:48:29,228 DEBUG - [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: /opt/quickbuild/workspace/1908/gradle.properties
13:48:29,233 DEBUG - [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
13:48:29,293 INFO - [org.gradle.BuildLogger] Projects loaded. Root project using build file '/opt/quickbuild/workspace/1908/build.gradle'.
13:48:29,294 INFO - [org.gradle.BuildLogger] Included projects: [root project '1908']
13:48:29,495 INFO - [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project '1908' using build file '/opt/quickbuild/workspace/1908/build.gradle'.
13:48:29,522 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface docker0
13:48:29,523 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
13:48:29,524 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
13:48:29,525 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /172.17.0.1
13:48:29,526 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface docker0
13:48:29,527 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface eth0
13:48:29,534 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
13:48:29,536 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
13:48:29,537 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /172.16.118.52
13:48:29,540 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface eth0
13:48:29,541 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface lo
13:48:29,542 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true
13:48:29,543 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false
13:48:29,544 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1
13:48:29,558 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/buildscript).
13:48:29,560 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
13:48:29,579 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/no_buildscript).
13:48:29,579 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
13:48:29,749 DEBUG - [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.254 secs
13:48:29,752 INFO - [org.gradle.BuildLogger] All projects evaluated.
13:48:29,754 INFO - [org.gradle.execution.TaskNameResolvingBuildConfigurationAction] Selected primary task 'hello' from project :
13:48:29,759 DEBUG - [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Creating the DAG took 0.005 secs
13:48:29,762 INFO - [org.gradle.BuildLogger] Tasks to be executed: [task ':hello']
13:48:29,764 INFO - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :hello (Thread[main,5,main]) started.
13:48:29,780 DEBUG - [class org.gradle.TaskExecutionLogger] :hello
13:48:29,780 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':hello'
13:48:29,781 DEBUG - [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':hello' is up-to-date
13:48:29,782 INFO - [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':hello' (up-to-date check took 0.001 secs) due to:
13:48:29,782 INFO - Task has not declared any outputs.
13:48:29,783 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':hello'.
13:48:29,807 INFO - [system.out] Sample1)e&$
13:48:29,833 INFO - [system.out] Sample1)e&$
13:48:29,834 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':hello'
13:48:29,835 INFO - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :hello (Thread[main,5,main]) completed. Took 0.07 secs.
13:48:29,836 DEBUG - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 0.07 secs, idle: 0.002 secs
13:48:29,836 DEBUG - [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Executing the DAG took 0.076 secs
13:48:29,837 DEBUG - [org.gradle.BuildResultLogger]
13:48:29,839 DEBUG - [org.gradle.BuildResultLogger] BUILD SUCCESSFUL
13:48:29,840 DEBUG - [org.gradle.BuildResultLogger]
13:48:29,841 DEBUG - [org.gradle.BuildResultLogger] Total time: 2.348 secs
13:48:29,844 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/buildscript).
13:48:29,850 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/no_buildscript).
13:48:29,852 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/home/labuser/.gradle/caches/2.2/plugin-resolution) was closed 0 times.
13:48:29,853 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache artifact cache (/home/labuser/.gradle/caches/modules-2) was closed 0 times.
13:48:29,853 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache task history cache (/opt/quickbuild/workspace/1908/.gradle/2.2/taskArtifacts) was closed 0 times.
13:48:29,854 DEBUG - [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 0, cache instances: 0, modules served from cache: 0, artifacts: 0
13:48:29,857 DEBUG - [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 0 resolution results binary files in 0.0 secs
13:48:29,881 INFO - Executing post-execute action...
13:48:30,011 INFO - Executing post-execute action...

AlSt [03/Jun/16 01:56 PM]
I tested some more with quoting using doublequotes.

Windows node:

15:43:58,802 INFO - Executing pre-execute action...
15:43:58,802 INFO - Running step...
15:43:58,822 INFO - Checking step execute condition...
15:43:58,822 INFO - Step execute condition satisfied, executing...
15:43:58,939 INFO - Executing pre-execute action...
15:43:58,939 INFO - Running step...
15:43:58,940 INFO - Checking out revision '19ec23b81115727220c1bd0acf1b05f134242bcf' of repository 'git-test'...
15:43:58,942 DEBUG - Executing command: git checkout -f 19ec23b81115727220c1bd0acf1b05f134242bcf
15:43:58,942 DEBUG - Command working directory: c:\workspace\1908
15:43:58,972 INFO - HEAD is now at 19ec23b... Add simple build file
15:43:59,009 INFO - Getting changes of 'git-test' since build '1.0.5'...
15:43:59,010 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
15:43:59,010 DEBUG - Command working directory: c:\workspace\1908
15:43:59,035 DEBUG - 1464953936 +0200
15:43:59,037 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
15:43:59,037 DEBUG - Command working directory: c:\workspace\1908
15:43:59,062 DEBUG - 1464953936 +0200
15:43:59,064 DEBUG - Executing command: git config --replace-all core.quotepath false
15:43:59,064 DEBUG - Command working directory: c:\workspace\1908
15:43:59,091 DEBUG - Executing command: git log --name-status --pretty=raw 19ec23b81115727220c1bd0acf1b05f134242bcf..19ec23b81115727220c1bd0acf1b05f134242bcf
15:43:59,091 DEBUG - Command working directory: c:\workspace\1908
15:43:59,211 INFO - Executing post-execute action...
15:43:59,377 INFO - Checking step execute condition...
15:43:59,378 INFO - Step execute condition satisfied, executing...
15:43:59,405 INFO - Executing pre-execute action...
15:43:59,405 INFO - Running step...
15:43:59,408 DEBUG - Executing command: c:\workspace\1908\gradlew.bat -DsomeSystemProperty="Sample1)e&$" -PsomeProjectProperty="Sample1)e&$" -d -p c:\workspace\1908 -b c:\workspace\1908\build.gradle hello
15:43:59,408 DEBUG - Command working directory: c:\workspace\1908
15:44:02,653 INFO - [org.gradle.BuildLogger] Starting Build
15:44:02,658 DEBUG - [org.gradle.BuildLogger] Gradle user home: C:\Users\labuser\.gradle
15:44:02,659 DEBUG - [org.gradle.BuildLogger] Current dir: C:\workspace\1908
15:44:02,660 DEBUG - [org.gradle.BuildLogger] Settings file: null
15:44:02,661 DEBUG - [org.gradle.BuildLogger] Build file: C:\workspace\1908\build.gradle
15:44:02,714 DEBUG - [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
15:44:02,715 DEBUG - [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
15:44:02,719 DEBUG - [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
15:44:02,720 DEBUG - [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
15:44:02,842 DEBUG - [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: C:\Users\labuser\.m2\repository
15:44:03,401 DEBUG - [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.677 secs
15:44:03,405 INFO - [org.gradle.BuildLogger] Settings evaluated using empty settings script.
15:44:03,525 DEBUG - [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: C:\workspace\1908\gradle.properties
15:44:03,528 DEBUG - [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
15:44:03,850 INFO - [org.gradle.BuildLogger] Projects loaded. Root project using build file 'C:\workspace\1908\build.gradle'.
15:44:03,852 INFO - [org.gradle.BuildLogger] Included projects: [root project '1908']
15:44:04,766 INFO - [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project '1908' using build file 'C:\workspace\1908\build.gradle'.
15:44:04,836 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Software Loopback Interface 1
15:44:04,839 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true
15:44:04,840 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,841 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1
15:44:04,842 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /0:0:0:0:0:0:0:1
15:44:04,842 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Software Loopback Interface 1
15:44:04,843 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (SSTP)
15:44:04,844 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,846 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,850 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (SSTP)
15:44:04,850 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (L2TP)
15:44:04,852 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,853 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,854 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (L2TP)
15:44:04,862 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (PPTP)
15:44:04,864 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,865 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,866 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (PPTP)
15:44:04,867 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (PPPOE)
15:44:04,870 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,872 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,873 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (PPPOE)
15:44:04,874 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IPv6)
15:44:04,875 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,876 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,876 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IPv6)
15:44:04,877 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (Network Monitor)
15:44:04,879 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,882 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,883 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (Network Monitor)
15:44:04,887 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IP)
15:44:04,889 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,891 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,891 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IP)
15:44:04,892 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface RAS Async Adapter
15:44:04,893 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,894 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,896 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface RAS Async Adapter
15:44:04,897 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Intel(R) PRO/1000 MT Network Connection
15:44:04,899 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,907 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,908 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Intel(R) PRO/1000 MT Network Connection
15:44:04,909 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter
15:44:04,918 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,920 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false
15:44:04,920 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:0:5efe:ac10:7689%net3
15:44:04,921 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Teredo Tunneling Pseudo-Interface
15:44:04,922 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,924 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false
15:44:04,924 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:0:100:7f:fffe%net4
15:44:04,925 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IKEv2)
15:44:04,926 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,929 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,934 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IKEv2)
15:44:04,934 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface Microsoft ISATAP Adapter #2
15:44:04,936 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,937 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,938 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface Microsoft ISATAP Adapter #2
15:44:04,939 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface vmxnet3 Ethernet Adapter
15:44:04,940 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,942 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,943 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /172.16.118.137
15:44:04,944 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /fe80:0:0:0:5de1:277d:8e7d:1ddd%eth4
15:44:04,946 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface vmxnet3 Ethernet Adapter
15:44:04,947 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface vmxnet3 Ethernet Adapter-QoS Packet Scheduler-0000
15:44:04,949 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,951 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,951 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface vmxnet3 Ethernet Adapter-QoS Packet Scheduler-0000
15:44:04,952 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface vmxnet3 Ethernet Adapter-WFP LightWeight Filter-0000
15:44:04,953 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,954 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,955 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface vmxnet3 Ethernet Adapter-WFP LightWeight Filter-0000
15:44:04,955 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IPv6)-QoS Packet Scheduler-0000
15:44:04,957 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,958 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,962 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IPv6)-QoS Packet Scheduler-0000
15:44:04,963 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (IP)-QoS Packet Scheduler-0000
15:44:04,964 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,965 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,966 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (IP)-QoS Packet Scheduler-0000
15:44:04,967 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
15:44:04,969 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:44:04,972 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:44:04,973 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback multicast interface WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
15:44:04,985 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file 'C:\workspace\1908\build.gradle' (C:\Users\labuser\.gradle\caches\2.2\scripts\build_1250299f3r7jmgs3xcpy9bqdm\ProjectScript\buildscript).
15:44:04,987 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
15:44:05,457 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'C:\workspace\1908\build.gradle' (C:\Users\labuser\.gradle\caches\2.2\scripts\build_1250299f3r7jmgs3xcpy9bqdm\ProjectScript\no_buildscript).
15:44:05,458 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
15:44:06,386 DEBUG - [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 1.618 secs
15:44:06,390 INFO - [org.gradle.BuildLogger] All projects evaluated.
15:44:06,393 INFO - [org.gradle.execution.TaskNameResolvingBuildConfigurationAction] Selected primary task 'hello' from project :
15:44:06,399 DEBUG - [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Creating the DAG took 0.006 secs
15:44:06,403 INFO - [org.gradle.BuildLogger] Tasks to be executed: [task ':hello']
15:44:06,409 INFO - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :hello (Thread[main,5,main]) started.
15:44:06,498 DEBUG - [class org.gradle.TaskExecutionLogger] :hello
15:44:06,499 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':hello'
15:44:06,500 DEBUG - [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':hello' is up-to-date
15:44:06,502 INFO - [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':hello' (up-to-date check took 0.002 secs) due to:
15:44:06,503 INFO - Task has not declared any outputs.
15:44:06,503 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':hello'.
15:44:07,333 INFO - [system.out] Sample1)e&$
15:44:07,523 INFO - [system.out] Sample1)e&$
15:44:07,524 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':hello'
15:44:07,531 INFO - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :hello (Thread[main,5,main]) completed. Took 1.115 secs.
15:44:07,533 DEBUG - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 1.115 secs, idle: 0.013 secs
15:44:07,534 DEBUG - [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Executing the DAG took 1.133 secs
15:44:07,535 DEBUG - [org.gradle.BuildResultLogger]
15:44:07,537 DEBUG - [org.gradle.BuildResultLogger] BUILD SUCCESSFUL
15:44:07,537 DEBUG - [org.gradle.BuildResultLogger]
15:44:07,538 DEBUG - [org.gradle.BuildResultLogger] Total time: 8.049 secs
15:44:07,542 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'C:\workspace\1908\build.gradle' (C:\Users\labuser\.gradle\caches\2.2\scripts\build_1250299f3r7jmgs3xcpy9bqdm\ProjectScript\buildscript).
15:44:07,547 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'C:\workspace\1908\build.gradle' (C:\Users\labuser\.gradle\caches\2.2\scripts\build_1250299f3r7jmgs3xcpy9bqdm\ProjectScript\no_buildscript).
15:44:07,548 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (C:\Users\labuser\.gradle\caches\2.2\plugin-resolution) was closed 0 times.
15:44:07,549 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache artifact cache (C:\Users\labuser\.gradle\caches\modules-2) was closed 0 times.
15:44:07,551 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache task history cache (C:\workspace\1908\.gradle\2.2\taskArtifacts) was closed 0 times.
15:44:07,554 DEBUG - [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 0 resolution results binary files in 0.0 secs
15:44:07,555 DEBUG - [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 0, cache instances: 0, modules served from cache: 0, artifacts: 0
15:44:07,578 INFO - Executing post-execute action...
15:44:07,709 INFO - Executing post-execute action...

Linux node:

15:52:11,443 INFO - Executing pre-execute action...
15:52:11,443 INFO - Running step...
15:52:11,465 INFO - Checking step execute condition...
15:52:11,466 INFO - Step execute condition satisfied, executing...
15:52:11,491 INFO - Executing pre-execute action...
15:52:11,491 INFO - Running step...
15:52:11,498 INFO - Checking out revision '19ec23b81115727220c1bd0acf1b05f134242bcf' of repository 'git-test'...
15:52:11,499 DEBUG - Executing command: git checkout -f 19ec23b81115727220c1bd0acf1b05f134242bcf
15:52:11,499 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
15:52:11,505 WARN - warning: unable to access '/home/labuser/.config/git/attributes': Permission denied
15:52:11,505 WARN - Note: checking out '19ec23b81115727220c1bd0acf1b05f134242bcf'.
15:52:11,505 WARN -
15:52:11,505 WARN - You are in 'detached HEAD' state. You can look around, make experimental
15:52:11,505 WARN - changes and commit them, and you can discard any commits you make in this
15:52:11,506 WARN - state without impacting any branches by performing another checkout.
15:52:11,506 WARN -
15:52:11,506 WARN - If you want to create a new branch to retain commits you create, you may
15:52:11,506 WARN - do so (now or later) by using -b with the checkout command again. Example:
15:52:11,507 WARN -
15:52:11,507 WARN - git checkout -b new_branch_name
15:52:11,507 WARN -
15:52:11,507 INFO - HEAD is now at 19ec23b... Add simple build file
15:52:11,993 INFO - Getting changes of 'git-test' since build '1.0.6'...
15:52:11,994 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
15:52:11,994 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
15:52:11,998 DEBUG - 1464953936 +0200
15:52:11,999 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 19ec23b81115727220c1bd0acf1b05f134242bcf
15:52:11,999 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
15:52:12,003 DEBUG - 1464953936 +0200
15:52:12,004 DEBUG - Executing command: git config --replace-all core.quotepath false
15:52:12,004 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
15:52:12,109 DEBUG - Executing command: git log --name-status --pretty=raw 19ec23b81115727220c1bd0acf1b05f134242bcf..19ec23b81115727220c1bd0acf1b05f134242bcf
15:52:12,109 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
15:52:12,334 INFO - Executing post-execute action...
15:52:12,477 INFO - Checking step execute condition...
15:52:12,477 INFO - Step execute condition satisfied, executing...
15:52:12,511 INFO - Executing pre-execute action...
15:52:12,511 INFO - Running step...
15:52:12,515 DEBUG - Executing command: /opt/quickbuild/workspace/1908/gradlew -DsomeSystemProperty="Sample1)e&$" -PsomeProjectProperty="Sample1)e&$" -d -p /opt/quickbuild/workspace/1908 -b /opt/quickbuild/workspace/1908/build.gradle hello
15:52:12,515 DEBUG - Command working directory: /opt/quickbuild/workspace/1908
15:52:13,757 INFO - [org.gradle.BuildLogger] Starting Build
15:52:13,761 DEBUG - [org.gradle.BuildLogger] Gradle user home: /home/labuser/.gradle
15:52:13,762 DEBUG - [org.gradle.BuildLogger] Current dir: /opt/quickbuild/workspace/1908
15:52:13,762 DEBUG - [org.gradle.BuildLogger] Settings file: null
15:52:13,763 DEBUG - [org.gradle.BuildLogger] Build file: /opt/quickbuild/workspace/1908/build.gradle
15:52:13,778 DEBUG - [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources.
15:52:13,780 DEBUG - [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave.
15:52:13,782 DEBUG - [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
15:52:13,782 DEBUG - [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
15:52:13,952 DEBUG - [org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator] No local repository in Settings file defined. Using default path: /home/labuser/.m2/repository
15:52:14,173 DEBUG - [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.389 secs
15:52:14,175 INFO - [org.gradle.BuildLogger] Settings evaluated using empty settings script.
15:52:14,245 DEBUG - [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: /opt/quickbuild/workspace/1908/gradle.properties
15:52:14,245 DEBUG - [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
15:52:14,305 INFO - [org.gradle.BuildLogger] Projects loaded. Root project using build file '/opt/quickbuild/workspace/1908/build.gradle'.
15:52:14,310 INFO - [org.gradle.BuildLogger] Included projects: [root project '1908']
15:52:14,480 INFO - [org.gradle.configuration.project.BuildScriptProcessor] Evaluating root project '1908' using build file '/opt/quickbuild/workspace/1908/build.gradle'.
15:52:14,497 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface docker0
15:52:14,498 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:52:14,499 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:52:14,500 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /172.17.0.1
15:52:14,500 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface docker0
15:52:14,501 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface eth0
15:52:14,502 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? false
15:52:14,502 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? true
15:52:14,503 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote address /172.16.118.52
15:52:14,503 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding remote multicast interface eth0
15:52:14,504 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding IP addresses for network interface lo
15:52:14,504 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a loopback interface? true
15:52:14,505 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Is this a multicast interface? false
15:52:14,505 DEBUG - [org.gradle.messaging.remote.internal.inet.InetAddressFactory] Adding loopback address /127.0.0.1
15:52:14,514 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/buildscript).
15:52:14,515 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
15:52:14,529 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/no_buildscript).
15:52:14,529 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
15:52:14,737 DEBUG - [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 0.257 secs
15:52:14,748 INFO - [org.gradle.BuildLogger] All projects evaluated.
15:52:14,751 INFO - [org.gradle.execution.TaskNameResolvingBuildConfigurationAction] Selected primary task 'hello' from project :
15:52:14,756 DEBUG - [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Creating the DAG took 0.005 secs
15:52:14,759 INFO - [org.gradle.BuildLogger] Tasks to be executed: [task ':hello']
15:52:14,762 INFO - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :hello (Thread[main,5,main]) started.
15:52:14,788 DEBUG - [class org.gradle.TaskExecutionLogger] :hello
15:52:14,791 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':hello'
15:52:14,792 DEBUG - [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':hello' is up-to-date
15:52:14,795 INFO - [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':hello' (up-to-date check took 0.002 secs) due to:
15:52:14,795 INFO - Task has not declared any outputs.
15:52:14,797 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':hello'.
15:52:14,842 INFO - [system.out] "Sample1)e&$"
15:52:14,878 INFO - [system.out] "Sample1)e&$"
15:52:14,879 DEBUG - [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':hello'
15:52:14,880 INFO - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :hello (Thread[main,5,main]) completed. Took 0.118 secs.
15:52:14,880 DEBUG - [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 0.118 secs, idle: 0.002 secs
15:52:14,880 DEBUG - [org.gradle.execution.taskgraph.DefaultTaskGraphExecuter] Timing: Executing the DAG took 0.123 secs
15:52:14,881 DEBUG - [org.gradle.BuildResultLogger]
15:52:14,884 DEBUG - [org.gradle.BuildResultLogger] BUILD SUCCESSFUL
15:52:14,890 DEBUG - [org.gradle.BuildResultLogger]
15:52:14,891 DEBUG - [org.gradle.BuildResultLogger] Total time: 2.314 secs
15:52:14,894 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/buildscript).
15:52:14,901 DEBUG - [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file '/opt/quickbuild/workspace/1908/build.gradle' (/home/labuser/.gradle/caches/2.2/scripts/build_boxif7yqmttn86b49nbkzwopw/ProjectScript/no_buildscript).
15:52:14,901 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/home/labuser/.gradle/caches/2.2/plugin-resolution) was closed 0 times.
15:52:14,902 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache artifact cache (/home/labuser/.gradle/caches/modules-2) was closed 0 times.
15:52:14,903 DEBUG - [org.gradle.cache.internal.DefaultCacheAccess] Cache task history cache (/opt/quickbuild/workspace/1908/.gradle/2.2/taskArtifacts) was closed 0 times.
15:52:14,904 DEBUG - [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedRepositoryFactory] In-memory dependency metadata cache closed. Repos cached: 0, cache instances: 0, modules served from cache: 0, artifacts: 0
15:52:14,910 DEBUG - [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 0 resolution results binary files in 0.001 secs
15:52:14,923 INFO - Executing post-execute action...
15:52:15,093 INFO - Executing post-execute action...

As you can see the linux node now also includes the quotes in gradle. So this also will not solve the problem that it is not fully runnable on windows and linux.

AlSt [03/Jun/16 01:58 PM]
And just for completeness. With single quotes we have the same problem on windows. And on linux the single quotes now are part of the parameters. It shows 'Sample1)e&$' in the output.

Robin Shen [04/Jun/16 01:22 AM]
I tried to use the value "Sample1)e&$" in my simple build.gradle, and it works fine on Windows 10 without quotes. What is your OS version? Also I see that you are running gradlew.bat while in gradle 2.13 binary distribution there is only gradle.bat on Windows.

Robin Shen [01/Dec/16 08:09 AM]
Reopen it if there is more clue