#!/bin/sh

mvn install deploy:deploy -Durl=https://repo.jenkins-ci.org/snapshots/ -Did=maven.jenkins-ci.org

#!/bin/bash

mvn install deploy:deploy -Durl=https://repo.jenkins-ci.org/snapshots/ -Did=maven.jenkins-ci.org

Use /bin/bash rather than /bin/sh.
Use /bin/bash rather than /bin/sh.
