Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,620
Community Members
 
Community Events
165
Community Groups

Build failing which succeeded 8 month ago (docker wine maven)

I use BB Pipelines to build my java based software using maven 3.

I use a docker container based on Debian with JDK8, wine and maven installed.

The builds runs fine until the maven-exec-plugin is called:


<execution>
<id>innosetup</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>wine</executable>
<commandlineArgs>conf/innosetup5/ISCC.exe -Otarget -Finfomas-ce-v${project.version}-install conf/infomas-ce.iss</commandlineArgs>
</configuration>
</execution>

 

This fails with the following message:

/usr/local/bin/wine: Syntax error: Unterminated quoted string

8 month ago it just works fine (i just rerun a previous build). Also, when running locally (in the same container) everything goes well.

So it has anything todo with the BB Pipelines environments i guess?

1 answer

0 votes

Hi @rkmuller,

I see in the info you have provided us that the variable ${project.version} is used and it seems to be the only variable part of the arguments you are passing. Has this variable been changed since the last successful build and does its value contain any quotes?

Kind regards,
Theodora

Yes, this value has been changed. The current value is "2.31.0", the previous was "2.30.1". So no spaces here or any quotes.

Hi @rkmuller,

Thank you for the info.

Another possibility that comes to my mind is that there may have been a change in the Docker image you're using, but locally (where everything goes well) you may be running an older version of this image.

If this is not the case, please let me know and I can open a support ticket for you so we can investigate further. It's a bit difficult to troubleshoot this without checking the Pipelines logs and also the configuration files in the repo. If there is a support ticket open, the engineer working on your case will be able to access these which will allow for faster troubleshooting. The support ticket will be visible only to you and Atlassian staff.

If the docker container you're running locally is using the same image as the one used in Pipelines and not an older version, please feel free to let me know if you'd like me to open a support ticket for this issue.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,158 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you