Question: I come from tcl/tk, and am trying to do the following in python:

```
for a,b in [1,2,3,4,5,6]:
   print a,b

```

with the desired output

```
1,2
3,4
5,6

```

This is quite common in tcl/tk, but I can't figure out how to get python to do it.

Answer: 
I found a solution myself browsing SO. It bypeasses the GitLab plugin entirely as I could not get that URL to work. See [this](https://stackoverflow.com/a/51996610/4925616) answer, it worked for me.

If the link ever goes down here is the idea, use this webhook url:

```
http://(jenkins_user):(jenkins_api_token)@(jenkins_server_address):(port)/job/(job_name)/build?delay=0sec

```

Actually if you set up your Jenkins Job as the GitLab plugin suggests it, except you use this webhook instead of the one that the plugin gives, commit status will be updated in your GitLab anyways.
Be aware that the answer above will expose your password or API key in the url / Webhook page.

If you don't want to work around the plugin, you have to define a user in Jenkins and configure this user on the GibLab Webhook.

If it's only for testing, you can also simply disable authentication on Jenkins Global Settings, but this is obviously not recommended for anything serious.

> 
> You can either add a special user in Jenkins for this and configure
> the Webhook in GitLab accordingly or you can uncheck the checkbox
> "Enable authentication for '/project' end-point" in the GitLab section
> of the global Jenkins configuration. But this should be unchecked by
> default.
> 
> 
> 

As said [here](https://github.com/jenkinsci/gitlab-plugin/issues/375#issuecomment-230685434) on the Jenkins Gitlab Plugin Github