Gist for https://youtu.be/41uUsWQjKRw
def animal="cat"
node {
stage('hello') {
echo animal
animal = "dog"
}
| services: | |
| federate: | |
| image: "docker.elastic.co/elasticsearch/elasticsearch:8.11.1" | |
| user: elasticsearch | |
| ports: | |
| - "5005:5005" | |
| - "9200:9200" | |
| volumes: | |
| # - ./plugin.zip:/tmp/plugin.zip | |
| # - /home/flavio/git/siren-platform/core/target/releases/siren-federate-8.11.1-34.0-SNAPSHOT-plugin.zip:/tmp/plugin.zip |
Gist for https://youtu.be/41uUsWQjKRw
def animal="cat"
node {
stage('hello') {
echo animal
animal = "dog"
}
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| var flattenObject = function(ob) { | |
| var toReturn = {}; | |
| for (var i in ob) { | |
| if (!ob.hasOwnProperty(i)) continue; | |
| if ((typeof ob[i]) == 'object') { | |
| var flatObject = flattenObject(ob[i]); | |
| for (var x in flatObject) { | |
| if (!flatObject.hasOwnProperty(x)) continue; |
bin/plugin install license
bin/plugin install shield
| import java.lang.reflect.InvocationHandler; | |
| import java.lang.reflect.Method; | |
| import java.lang.reflect.Proxy; | |
| import java.util.concurrent.Callable; | |
| import javassist.util.proxy.MethodHandler; | |
| import javassist.util.proxy.ProxyFactory; | |
| import javassist.util.proxy.ProxyObject; | |
| import net.sf.cglib.proxy.Enhancer; | |
| import net.sf.cglib.proxy.MethodInterceptor; |
| package learning_tests; | |
| import static org.custommonkey.xmlunit.XMLAssert.*; | |
| import org.custommonkey.xmlunit.XMLUnit; | |
| import org.junit.Test; | |
| public class XmlUnitTest { | |
| @Test |
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} |