Commit 24a6b6a8 authored by Muhammad Tehami's avatar Muhammad Tehami 💡

Script removed

parent c353d9bf
......@@ -3,13 +3,14 @@ import org.apache.commons.lang3.StringUtils
class Deployer {
int tries = 0
Script script
// Script script
def run() {
while (tries < 10) {
// Thread.sleep(1000)
tries++
script.echo("tries is numeric: " + StringUtils.isAlphanumeric("" + tries))
// script.echo("tries is numeric: " + StringUtils.isAlphanumeric("" + tries))
echo("tries is numeric: " + StringUtils.isAlphanumeric("" + tries))
}
}
}
......@@ -3,7 +3,8 @@
def call(body) {
echo "Disable balancer"
script:this.echo(new Sample(1, 3).toString())
// script:this.echo(new Sample(1, 3).toString())
echo(new Sample(1, 3).toString())
return this
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment